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