Ejemplo n.º 1
0
 private static RepoDistSettings CreateDistributed(GitModule aModule, RepoDistSettings aLowerPriority, bool allowCache = true)
 {
     return(new RepoDistSettings(aLowerPriority,
                                 GitExtSettingsCache.Create(Path.Combine(aModule.WorkingDir, AppSettings.SettingsFileName), allowCache)));
 }
Ejemplo n.º 2
0
 public static RepoDistSettings CreateGlobal(bool allowCache = true)
 {
     return(new RepoDistSettings(null, GitExtSettingsCache.Create(AppSettings.SettingsFilePath, allowCache)));
 }
Ejemplo n.º 3
0
 private static RepoDistSettings CreateLocal(GitModule aModule, RepoDistSettings aLowerPriority, bool allowCache = true)
 {
     //if (aModule.IsBareRepository()
     return(new RepoDistSettings(aLowerPriority,
                                 GitExtSettingsCache.Create(Path.Combine(aModule.WorkingDirGitDir(), AppSettings.SettingsFileName), allowCache)));
 }