Esempio n. 1
0
        private FileInfo GetPatchFile(PatchListEntry patch)
        {
            var file = new FileInfo(Path.Combine(_patchStore.FullName, patch.GetFilePath()));

            file.Directory.Create();

            return(file);
        }
Esempio n. 2
0
 public void TestVersionDecode()
 {
     Assert.AreEqual("game/4e9a232b/H2017.06.06.0000.0001a.patch", testPatch.GetUrlPath());
     Assert.AreEqual("game\\4e9a232b\\H2017.06.06.0000.0001a.patch", testPatch.GetFilePath());
     Assert.AreEqual("ffxiv", testPatch.GetRepoName());
 }