Make Encoding a private field only for IReadOnlyFilesystem implementors.

This commit is contained in:
2022-12-17 23:17:18 +00:00
parent dc26b85c2f
commit 24069676e2
147 changed files with 296 additions and 497 deletions

View File

@@ -92,7 +92,7 @@ public sealed partial class LisaFS
// Do same trick as Mac OS X, replace filesystem '/' with '-',
// as '-' is the path separator in Lisa OS
contents = (from entry in _catalogCache where entry.parentID == dirId
select StringHandlers.CToString(entry.filename, Encoding).Replace('/', '-')).ToList();
select StringHandlers.CToString(entry.filename, _encoding).Replace('/', '-')).ToList();
/// <summary>Reads, interprets and caches the Catalog File</summary>
ErrorNumber ReadCatalog()