MonoDevelop.VersionControl.Dialogs.SelectRepositoryDialog.AppendRelativePath C# (CSharp) Méthode

AppendRelativePath() private méthode

private AppendRelativePath ( ) : void
Résultat void
		void AppendRelativePath ()
		{
			UrlBasedRepositoryEditor edit = currentEditor as UrlBasedRepositoryEditor;
			if (edit == null)
				return;

			// RelativePath always is at least '/'.
			if (edit.RelativePath == "/") {
				entryFolder.Text = defaultPath;
				return;
			}

			entryFolder.Text = defaultPath + edit.RelativePath.Replace ('/', System.IO.Path.DirectorySeparatorChar);
		}
	}