MonoDevelop.VersionControl.Repository.MoveDirectory C# (CSharp) Méthode

MoveDirectory() public méthode

public MoveDirectory ( FilePath localSrcPath, FilePath localDestPath, bool force, MonoDevelop.Core.ProgressMonitor monitor ) : void
localSrcPath FilePath
localDestPath FilePath
force bool
monitor MonoDevelop.Core.ProgressMonitor
Résultat void
		public void MoveDirectory (FilePath localSrcPath, FilePath localDestPath, bool force, ProgressMonitor monitor)
		{
			ClearCachedVersionInfo (localSrcPath, localDestPath);
			try {
				OnMoveDirectory (localSrcPath, localDestPath, force, monitor);
			} catch (Exception e) {
				LoggingService.LogError ("Failed to move directory", e);
				FileService.SystemDirectoryRename (localSrcPath, localDestPath);
			}
		}