public RepositoryStatus(Repository repository, RepositoryStatusOptions options) { Repository = repository; Options = options; _root_path = string.Empty; _recursive = true; Update(); }
internal RepositoryStatus(Repository repository, RepositoryStatusOptions options, string singleFile, string rootDir, bool recursive) { Repository = repository; Options = options ?? new RepositoryStatusOptions { ForceContentCheck = true }; IgnoreHandler = new IgnoreHandler(Repository); _root_path = Repository.ToGitPath(rootDir); _recursive = recursive; _file_path = Repository.ToGitPath(singleFile); Update(); }
internal RepositoryStatus(Repository repository, RepositoryStatusOptions options, string singleFile, string rootDir, bool recursive) { Repository = repository; Options = options ?? new RepositoryStatusOptions { ForceContentCheck = true }; IgnoreHandler = new IgnoreHandler(Repository); _root_path = Repository.ToGitPath (rootDir); _recursive = recursive; _file_path = Repository.ToGitPath (singleFile); Update(); }
public RepositoryStatus GetFileStatus(string path, RepositoryStatusOptions options) { return(new RepositoryStatus(this, options, path, null, false)); }
public RepositoryStatus GetDirectoryStatus(string path, bool recursive, RepositoryStatusOptions options) { return(new RepositoryStatus(this, options, null, path, recursive)); }
public RepositoryStatus GetStatus(RepositoryStatusOptions options) { return(new RepositoryStatus(this, options, null, "", true)); }
public RepositoryStatus(Repository repository, RepositoryStatusOptions options) { Repository = repository; Options = options; Update(); }