static File PathToMe(InstallationDirectory install, NuConventions conventions)
 {
     return install.GetChildFile(conventions.ConfigurationFileName);
 }
 static File GetMyPath(InstallationDirectory install, NuConventions conventions)
 {
     return install.GetChildFile(conventions.DefaultsFileName);
 }
Esempio n. 3
0
 public FileBasedLocalCatalogue(IFileSystem fileSystem, InstallationDirectory installLocation)
 {
     _fileSystem = fileSystem;
     _file = installLocation.GetChildFile("catalogue.json");
     RemoteCatalogues = ReadExistingDataFromFile(_file);
 }