From da070602c8db9ec39b447c34857f2a8434e9cdd0 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 2 Jul 2023 12:22:39 -0500 Subject: add tests to ensure only desirable paths can be accessed --- src/slskd/Files/IFileService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/slskd/Files/IFileService.cs') diff --git a/src/slskd/Files/IFileService.cs b/src/slskd/Files/IFileService.cs index 63b5f1a3..89d4ce76 100644 --- a/src/slskd/Files/IFileService.cs +++ b/src/slskd/Files/IFileService.cs @@ -43,7 +43,7 @@ namespace slskd.Files /// Thrown if any of the directories is an exact match for an application-controlled directory. /// /// Thrown if a specified directory does not exist. - /// Thrown if a specified directory is restricted. + /// Thrown if a specified directory is restricted. Task>> DeleteDirectoriesAsync(params string[] directories); /// @@ -57,7 +57,7 @@ namespace slskd.Files /// The operation context. /// Thrown if any of the specified files have a relative path. /// Thrown if a specified file does not exist. - /// Thrown if a specified file is restricted. + /// Thrown if a specified file is restricted. Task>> DeleteFilesAsync(params string[] files); /// @@ -68,7 +68,7 @@ namespace slskd.Files /// The list of found contents. /// Thrown if the specified directory has a relative path. /// Thrown if the specified directory does not exist. - /// Thrown if the specified root directory is restricted. + /// Thrown if the specified root directory is restricted. Task ListContentsAsync(string directory, EnumerationOptions enumerationOptions = null); } } \ No newline at end of file -- cgit v1.2.3