public override void MountTempDirectory(ProgressMonitor monitor, FileCopyConfiguration copyConfig, string tempPath) { SshFuseFileCopyConfiguration config = (SshFuseFileCopyConfiguration)copyConfig; string fuseArgs = string.Format("{0} {1} {2}", config.TargetDirectory, tempPath, config.ExtraMountArguments); RunFuseCommand(monitor, "sshfs", fuseArgs); }
public SshFuseFileCopyConfigurationEditorWidget (SshFuseFileCopyConfiguration config) { this.Build(); this.config = config; if (config.Directory != null) entryDirectory.Text = config.Directory; if (config.UserName != null) entryUserName.Text = config.UserName; if (config.HostName != null) entryHostName.Text = config.HostName; }