Improved upon the "listArchives(_: context: )" function for the ArchiveController controller in the library target.

This commit is contained in:
2025-03-12 23:43:19 +01:00
parent dbb7aeda1b
commit a14d388321
4 changed files with 108 additions and 25 deletions
@@ -1,9 +1,9 @@
/// A type that services access to information from the local file system.
/// A type that interfaces with the local file system.
protocol FileServicing: Sendable {
// MARK: Functions
/// Lists the names of items located at a given folder. path
/// Lists the names of items located at a given folder path. in the local file system.
/// - Parameter folder: A path to a folder that could be found in the local file system.
/// - Returns: A list of names related to the items retrieved from a given folder path.
/// - Throws: A ``FileServiceError`` error type in case any error happens while retrieving the list.