static NGitBasedRepository() { //Set user home directory if the home directory of the user running this application cannot be retrieved. string lsPath = AppSettings.FromAppConfig().UserHomeDirectory; if (!string.IsNullOrEmpty(lsPath)) { FS.DETECTED.SetUserHome(new FilePath(lsPath)); } }
public RepositoryService() { appSettings = AppSettings.FromAppConfig(); }