Skip to content

Commit

Permalink
ModFSFileInfo: add FromMod field (#509)
Browse files Browse the repository at this point in the history
* ModFSFileInfo: add FromMod field

* Bump version
  • Loading branch information
IhateTrains authored Sep 25, 2024
1 parent 61091bf commit e1ad704
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 71 deletions.
94 changes: 47 additions & 47 deletions commonItems.UnitTests/Mods/ModFilesystemTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ public void FilesInGameRootAreFound() {
var modFS = new ModFilesystem("TestFiles/ModFilesystem/GetActualFileLocation/game_root", new List<Mod>());

modFS.GetAllFilesInFolder("test_folder").Should().Equal(
new ModFSFileInfo("root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo("test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/test_file.txt"));
new ModFSFileInfo(fromMod: false, "root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo(fromMod: false, "test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/test_file.txt"));
}

[Fact]
Expand All @@ -173,9 +173,9 @@ public void ModFilesAddToAndReplaceGameRootFiles() {
var modFS = new ModFilesystem("TestFiles/ModFilesystem/GetActualFileLocation/game_root", new[] {modOne});

modFS.GetAllFilesInFolder("test_folder").Should().Equal(
new ModFSFileInfo("mod_one_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_file.txt"),
new ModFSFileInfo("root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo("test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/test_file.txt"));
new ModFSFileInfo(fromMod: true, "mod_one_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_file.txt"),
new ModFSFileInfo(fromMod: false, "root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo(fromMod: true, "test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/test_file.txt"));
}

[Fact]
Expand All @@ -186,10 +186,10 @@ public void ModFilesAddToAndReplaceEarlierModFiles() {
new[] {modOne, modTwo});

modFS.GetAllFilesInFolder("test_folder").Should().Equal(
new ModFSFileInfo("mod_one_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_file.txt"),
new ModFSFileInfo("mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo("root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo("test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"));
new ModFSFileInfo(fromMod: true, "mod_one_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_file.txt"),
new ModFSFileInfo(fromMod: true, "mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo(fromMod: false, "root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo(fromMod: true, "test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"));
}

[Fact]
Expand All @@ -201,8 +201,8 @@ public void ReplaceFolderKeepsFilesFromBeingFound() {
new[] {modOne, modTwo});

modFS.GetAllFilesInFolder("test_folder").Should().Equal(
new ModFSFileInfo("mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo("test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"));
new ModFSFileInfo(fromMod: true, "mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo(fromMod: true, "test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"));
}

private sealed class CustomPrecedenceComparer : IComparer<string> {
Expand All @@ -226,8 +226,8 @@ public void GetAllFilesInFolderCanBeCalledWithCustomFilePrecedenceComparer() {
new[] {modOne, modTwo});

modFS.GetAllFilesInFolder("test_folder", new CustomPrecedenceComparer()).Should().Equal(
new ModFSFileInfo("mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo("test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"));
new ModFSFileInfo(fromMod: true, "mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo(fromMod: true, "test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"));
}

[Fact]
Expand Down Expand Up @@ -310,10 +310,10 @@ public void FilesInGameRootAndSubfoldersAreFound() {
var modFS = new ModFilesystem("TestFiles/ModFilesystem/GetActualFileLocation/game_root", new List<Mod>());

modFS.GetAllFilesInFolderRecursive("test_folder").Should().Equal(
new ModFSFileInfo("root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo("test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/test_file.txt"),
new ModFSFileInfo("deeper_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/deeper_folder/dummy.txt"),
new ModFSFileInfo("game_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/game_folder/dummy.txt"));
new ModFSFileInfo(fromMod: false, "root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo(fromMod: false, "test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/test_file.txt"),
new ModFSFileInfo(fromMod: false, "deeper_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/deeper_folder/dummy.txt"),
new ModFSFileInfo(fromMod: false, "game_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/game_folder/dummy.txt"));
}

[Fact]
Expand All @@ -322,12 +322,12 @@ public void ModFilesAndSubfoldersAddToAndReplaceGameRootFiles() {
var modFS = new ModFilesystem("TestFiles/ModFilesystem/GetActualFileLocation/game_root", new[] {modOne});

modFS.GetAllFilesInFolderRecursive("test_folder").Should().Equal(
new ModFSFileInfo("mod_one_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_file.txt"),
new ModFSFileInfo("root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo("test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/test_file.txt"),
new ModFSFileInfo("deeper_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/deeper_folder/dummy.txt"),
new ModFSFileInfo("game_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/game_folder/dummy.txt"),
new ModFSFileInfo("mod_one_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_folder/dummy.txt"));
new ModFSFileInfo(fromMod: true, "mod_one_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_file.txt"),
new ModFSFileInfo(fromMod: false, "root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo(fromMod: true, "test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/test_file.txt"),
new ModFSFileInfo(fromMod: true, "deeper_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/deeper_folder/dummy.txt"),
new ModFSFileInfo(fromMod: false, "game_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/game_folder/dummy.txt"),
new ModFSFileInfo(fromMod: true, "mod_one_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_folder/dummy.txt"));
}

[Fact]
Expand All @@ -338,14 +338,14 @@ public void ModFilesAndSubfoldersAddToAndReplaceEarlierModFiles() {
new[] {modOne, modTwo});

modFS.GetAllFilesInFolderRecursive("test_folder").Should().Equal(
new ModFSFileInfo("mod_one_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_file.txt"),
new ModFSFileInfo("mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo("root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo("test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"),
new ModFSFileInfo("deeper_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/deeper_folder/dummy.txt"),
new ModFSFileInfo("game_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/game_folder/dummy.txt"),
new ModFSFileInfo("mod_one_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_folder/dummy.txt"),
new ModFSFileInfo("mod_two_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_folder/dummy.txt"));
new ModFSFileInfo(fromMod: true, "mod_one_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_file.txt"),
new ModFSFileInfo(fromMod: true, "mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo(fromMod: false, "root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo(fromMod: true, "test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"),
new ModFSFileInfo(fromMod: true, "deeper_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/deeper_folder/dummy.txt"),
new ModFSFileInfo(fromMod: false, "game_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/game_folder/dummy.txt"),
new ModFSFileInfo(fromMod: true, "mod_one_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_folder/dummy.txt"),
new ModFSFileInfo(fromMod: true, "mod_two_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_folder/dummy.txt"));
}

[Fact]
Expand All @@ -357,10 +357,10 @@ public void ReplaceFolderKeepsFilesAndSubfoldersFromBeingFound() {
new[] {modOne, modTwo});

modFS.GetAllFilesInFolderRecursive("test_folder").Should().Equal(
new ModFSFileInfo("mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo("test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"),
new ModFSFileInfo("deeper_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/deeper_folder/dummy.txt"),
new ModFSFileInfo("mod_two_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_folder/dummy.txt"));
new ModFSFileInfo(fromMod: true, "mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo(fromMod: true, "test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"),
new ModFSFileInfo(fromMod: true, "deeper_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/deeper_folder/dummy.txt"),
new ModFSFileInfo(fromMod: true, "mod_two_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_folder/dummy.txt"));
}

[Fact]
Expand All @@ -372,10 +372,10 @@ public void GetAllFilesInFolderRecursiveCanBeCalledWithCustomFilePrecedenceCompa
new[] {modOne, modTwo});

modFS.GetAllFilesInFolderRecursive("test_folder", new CustomPrecedenceComparer()).Should().Equal(
new ModFSFileInfo("mod_two_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_folder/dummy.txt"),
new ModFSFileInfo("deeper_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/deeper_folder/dummy.txt"),
new ModFSFileInfo("mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo("test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"));
new ModFSFileInfo(fromMod: true, "mod_two_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_folder/dummy.txt"),
new ModFSFileInfo(fromMod: true, "deeper_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/deeper_folder/dummy.txt"),
new ModFSFileInfo(fromMod: true, "mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo(fromMod: true, "test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"));
}

[Fact]
Expand All @@ -385,13 +385,13 @@ public void FilesAreFoundEvenWithTrailingSlashInPath() {
var modFS = new ModFilesystem("TestFiles/ModFilesystem/GetActualFileLocation/game_root", new []{modOne, modTwo});

modFS.GetAllFilesInFolderRecursive("test_folder/").Should().Equal(
new ModFSFileInfo("mod_one_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_file.txt"),
new ModFSFileInfo("mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo("root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo("test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"),
new ModFSFileInfo("deeper_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/deeper_folder/dummy.txt"),
new ModFSFileInfo("game_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/game_folder/dummy.txt"),
new ModFSFileInfo("mod_one_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_folder/dummy.txt"),
new ModFSFileInfo("mod_two_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_folder/dummy.txt"));
new ModFSFileInfo(fromMod: true, "mod_one_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_file.txt"),
new ModFSFileInfo(fromMod: true, "mod_two_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_file.txt"),
new ModFSFileInfo(fromMod: false, "root_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/root_file.txt"),
new ModFSFileInfo(fromMod: true, "test_file.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/test_file.txt"),
new ModFSFileInfo(fromMod: true, "deeper_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/deeper_folder/dummy.txt"),
new ModFSFileInfo(fromMod: false, "game_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/game_root/test_folder/game_folder/dummy.txt"),
new ModFSFileInfo(fromMod: true, "mod_one_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_one/test_folder/mod_one_folder/dummy.txt"),
new ModFSFileInfo(fromMod: true, "mod_two_folder/dummy.txt", "TestFiles/ModFilesystem/GetActualFileLocation/mod_two/test_folder/mod_two_folder/dummy.txt"));
}
}
3 changes: 2 additions & 1 deletion commonItems/Mods/ModFSFileInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
namespace commonItems.Mods;

public struct ModFSFileInfo(string relativePath, string absolutePath) {
public struct ModFSFileInfo(bool fromMod, string relativePath, string absolutePath) {
public bool FromMod = fromMod;
public string RelativePath = relativePath;
public string AbsolutePath = absolutePath;
}
40 changes: 18 additions & 22 deletions commonItems/Mods/ModFilesystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public ModFilesystem(string gameRoot, IEnumerable<Mod> mods) {
}

public List<ModFSFileInfo> GetAllFilesInFolder(string path, IComparer<string> filePrecedenceComparer) {
var foundFiles = new SortedDictionary<string, string>(filePrecedenceComparer); // <relative path, full path>
var foundFiles = new SortedDictionary<string, ModFSFileInfo>(filePrecedenceComparer); // <relative path, full path>

foreach (var mod in mods.Reverse()) {
var pathInMod = Path.Combine(mod.Path, path).Replace('\\', '/');
Expand All @@ -112,14 +112,13 @@ public List<ModFSFileInfo> GetAllFilesInFolder(string path, IComparer<string> fi
}

var fullPath = Path.Combine(pathInMod, newFile).Replace('\\', '/');
foundFiles.Add(newFile, fullPath);
foundFiles.Add(newFile, new(
fromMod: true, newFile.Replace('\\', '/'), fullPath)
);
}

if (PathIsReplaced(path, mod.ReplacedFolders)) {
return foundFiles.Select(f => new ModFSFileInfo {
RelativePath = f.Key.Replace('\\', '/'),
AbsolutePath= f.Value,
}).ToList();
return foundFiles.Values.ToList();
}
}

Expand All @@ -130,13 +129,12 @@ public List<ModFSFileInfo> GetAllFilesInFolder(string path, IComparer<string> fi
}

var fullPath = Path.Combine(pathInGameRoot, newFile).Replace('\\', '/');
foundFiles.Add(newFile, fullPath);
foundFiles.Add(newFile, new(
fromMod: false, newFile.Replace('\\', '/'), fullPath)
);
}

return foundFiles.Select(f => new ModFSFileInfo {
RelativePath = f.Key.Replace('\\', '/'),
AbsolutePath= f.Value,
}).ToList();
return foundFiles.Values.ToList();
}
public List<ModFSFileInfo> GetAllFilesInFolder(string path) {
return GetAllFilesInFolder(path, precedenceComparer);
Expand Down Expand Up @@ -179,7 +177,7 @@ public OrderedSet<string> GetAllSubfolders(string path) {
}

public List<ModFSFileInfo> GetAllFilesInFolderRecursive(string path, IComparer<string> filePrecedenceComparer) {
var foundFiles = new SortedDictionary<string, string>(filePrecedenceComparer); // <relative path, full path>
var foundFiles = new SortedDictionary<string, ModFSFileInfo>(filePrecedenceComparer); // <relative path, full path>

foreach (var mod in mods.Reverse()) {
var pathInMod = Path.Combine(mod.Path, path).Replace('\\', '/');
Expand All @@ -189,14 +187,13 @@ public List<ModFSFileInfo> GetAllFilesInFolderRecursive(string path, IComparer<s
}

var fullPath = Path.Combine(pathInMod, newFile).Replace('\\', '/');
foundFiles.Add(newFile, fullPath);
foundFiles.Add(newFile, new(
fromMod: true, newFile.Replace('\\', '/'), fullPath)
);
}

if (PathIsReplaced(path, mod.ReplacedFolders)) {
return foundFiles.Select(f => new ModFSFileInfo {
RelativePath = f.Key.Replace('\\', '/'),
AbsolutePath= f.Value,
}).ToList();
return foundFiles.Select(f => f.Value).ToList();
}
}

Expand All @@ -207,13 +204,12 @@ public List<ModFSFileInfo> GetAllFilesInFolderRecursive(string path, IComparer<s
}

var fullPath = Path.Combine(pathInGameRoot, newFile).Replace('\\', '/');
foundFiles.Add(newFile, fullPath);
foundFiles.Add(newFile, new(
fromMod: false, newFile.Replace('\\', '/'), fullPath)
);
}

return foundFiles.Select(f => new ModFSFileInfo {
RelativePath = f.Key.Replace('\\', '/'),
AbsolutePath= f.Value,
}).ToList();
return foundFiles.Values.ToList();
}

public List<ModFSFileInfo> GetAllFilesInFolderRecursive(string path) {
Expand Down
2 changes: 1 addition & 1 deletion commonItems/commonItems.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<GeneratePackageOnBuild>False</GeneratePackageOnBuild>
<PackageId>PGCG.$(AssemblyName)</PackageId>
<Version>14.0.0</Version>
<Version>14.1.0</Version>
<Authors>PGCG</Authors>
<PackageProjectUrl>https://github.com/ParadoxGameConverters/commonItems.NET</PackageProjectUrl>
<RepositoryUrl>https://github.com/ParadoxGameConverters/commonItems.NET</RepositoryUrl>
Expand Down

0 comments on commit e1ad704

Please sign in to comment.