diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-08-11 21:18:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-11 21:18:53 -0500 |
| commit | cf6fec19e384200da1be2cea13252dc62da508a3 (patch) | |
| tree | 000e9e9d1b6a9ce1aacf713c244c916af9cc8c48 /src/slskd/Application/SharedFileCacheState.cs | |
| parent | 02dbf37003ef3086939531b677366731b4d7863b (diff) | |
| parent | 260606414aeccec84ff9b381d2a20b7e34f4bdb4 (diff) | |
| download | slskd-cf6fec19e384200da1be2cea13252dc62da508a3.tar.gz | |
Merge pull request #149 from slskd/share-exclusions
Add the ability to exclude directories from sharing
Diffstat (limited to 'src/slskd/Application/SharedFileCacheState.cs')
| -rw-r--r-- | src/slskd/Application/SharedFileCacheState.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/slskd/Application/SharedFileCacheState.cs b/src/slskd/Application/SharedFileCacheState.cs index 54b56c22..ac50f47f 100644 --- a/src/slskd/Application/SharedFileCacheState.cs +++ b/src/slskd/Application/SharedFileCacheState.cs @@ -17,8 +17,6 @@ namespace slskd { - using System; - /// <summary> /// Share cache state. /// </summary> @@ -48,5 +46,10 @@ namespace slskd /// Gets the number of cached files. /// </summary> public int Files { get; init; } + + /// <summary> + /// Gets the number of directories excluded by filters. + /// </summary> + public int ExcludedDirectories { get; init; } } }
\ No newline at end of file |
