namespace LibGit2Sharp { /// /// Provides optional additional information to the Repository to be opened. /// public sealed class RepositoryOptions { /// /// Overrides the probed location of the working directory of a standard repository, /// or, combined with , would /// allow to work against a bare repository as it was a standard one. /// /// The path has to lead to an existing directory. /// /// public string WorkingDirectoryPath { get; set; } /// /// Overrides the probed location of the Index file of a standard repository, /// or, combined with , would /// allow to work against a bare repository as it was a standard one. /// /// The path has either to lead to an existing valid Index file, /// or to a non existent Index file which will be eventually created. /// /// public string IndexPath { get; set; } /// /// Overrides the probed location of the Global configuration file of a repository. /// /// The path has either to lead to an existing valid configuration file, /// or to a non existent configuration file which will be eventually created. /// /// public string GlobalConfigurationLocation { get; set; } /// /// Overrides the probed location of the XDG configuration file of a repository. /// /// The path has either to lead to an existing valid configuration file, /// or to a non existent configuration file which will be eventually created. /// /// public string XdgConfigurationLocation { get; set; } /// /// Overrides the probed location of the System configuration file of a repository. /// /// The path has to lead to an existing valid configuration file, /// or to a non existent configuration file which will be eventually created. /// /// public string SystemConfigurationLocation { get; set; } } }