mirror of
https://github.com/aaru-dps/Aaru.CommonTypes.git
synced 2025-12-16 19:24:30 +00:00
Add CloseDir method to IReadOnlyFilesystem.
This commit is contained in:
@@ -166,6 +166,11 @@ public interface IReadOnlyFilesystem : IFilesystem
|
||||
/// <param name="node">Represents the opened directory and is needed for other directory-related operations.</param>
|
||||
/// <returns>Error number</returns>
|
||||
ErrorNumber OpenDir(string path, out IDirNode node);
|
||||
|
||||
/// <summary>Closes a directory, freeing any private data allocated on opening.</summary>
|
||||
/// <param name="node">The directory node.</param>
|
||||
/// <returns>Error number.</returns>
|
||||
ErrorNumber CloseDir(IDirNode node);
|
||||
}
|
||||
|
||||
/// <summary>Represents an opened file from a filesystem</summary>
|
||||
|
||||
Reference in New Issue
Block a user