- Removed all MoveImmute situations.

- Added filtering and ordering functions for package resources.
This commit is contained in:
MapleWheels
2026-01-26 16:37:51 -05:00
committed by Maplewheels
parent 60ed549605
commit f9a467453a
8 changed files with 56 additions and 24 deletions
@@ -251,7 +251,7 @@ public class StorageService : IStorageService
{
builder.Add((path, LoadPackageData(path, dataLoader)));
}
return builder.MoveToImmutable();
return builder.ToImmutable();
}
public ImmutableArray<(ContentPath, Result<XDocument>)> LoadPackageXmlFiles(ImmutableArray<ContentPath> filePaths)
@@ -317,7 +317,7 @@ public class StorageService : IStorageService
{
builder.Add((path, await LoadPackageDataAsync(path, dataLoader)));
}
return builder.MoveToImmutable();
return builder.ToImmutable();
}
public async Task<ImmutableArray<(ContentPath, Result<XDocument>)>> LoadPackageXmlFilesAsync(ImmutableArray<ContentPath> filePaths)