diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-08-23 12:54:40 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2021-08-23 12:54:40 -0500 |
| commit | 3db86c3d8e6e88697af3d7e0a7c96a89c8227e9c (patch) | |
| tree | 9aee34cb70c493729713429796bfe4f8c3557165 /src/slskd/Application/ISharedFileCache.cs | |
| parent | cd564c0df2fd55803a193efe3fa67f850426406f (diff) | |
| download | slskd-3db86c3d8e6e88697af3d7e0a7c96a89c8227e9c.tar.gz | |
add List() to retrieve directory contents
Diffstat (limited to 'src/slskd/Application/ISharedFileCache.cs')
| -rw-r--r-- | src/slskd/Application/ISharedFileCache.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/slskd/Application/ISharedFileCache.cs b/src/slskd/Application/ISharedFileCache.cs index 4bc3f593..93b836f3 100644 --- a/src/slskd/Application/ISharedFileCache.cs +++ b/src/slskd/Application/ISharedFileCache.cs @@ -44,6 +44,13 @@ namespace slskd Task FillAsync(); /// <summary> + /// Returns the contents of the specified <paramref name="directory"/>. + /// </summary> + /// <param name="directory">The directory for which the contents are to be listed.</param> + /// <returns>The contents of the directory.</returns> + Directory List(string directory); + + /// <summary> /// Substitutes the mask in the specified <paramref name="filename"/> with the original path, if the mask is tracked /// by the cache. /// </summary> |
