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));
            }
        }
Example #2
0
 public RepositoryService()
 {
     appSettings = AppSettings.FromAppConfig();
 }