diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2026-04-09 00:37:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-09 00:37:00 -0400 |
| commit | e3b5cf49964c5b54a34163b4f2349e5d1abb0dd0 (patch) | |
| tree | 9af68c6829c52c3fed0b0ced77e8f9d8ad64b047 /MediaBrowser.Model/System/FolderStorageInfo.cs | |
| parent | 78e0a2b5c13eba9c65779bde41362fe728d57fb2 (diff) | |
| parent | fec78c8448bd19f96460d853732cf24812443b70 (diff) | |
Merge pull request #16456 from joshuaboniface/fix-path-filesystem-logic
Diffstat (limited to 'MediaBrowser.Model/System/FolderStorageInfo.cs')
| -rw-r--r-- | MediaBrowser.Model/System/FolderStorageInfo.cs | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/MediaBrowser.Model/System/FolderStorageInfo.cs b/MediaBrowser.Model/System/FolderStorageInfo.cs index 7b10e4ea58..ebca39228b 100644 --- a/MediaBrowser.Model/System/FolderStorageInfo.cs +++ b/MediaBrowser.Model/System/FolderStorageInfo.cs @@ -11,17 +11,22 @@ public record FolderStorageInfo public required string Path { get; init; } /// <summary> - /// Gets the free space of the underlying storage device of the <see cref="Path"/>. + /// Gets the fully resolved path of the folder in question (interpolating any symlinks if present). + /// </summary> + public required string ResolvedPath { get; init; } + + /// <summary> + /// Gets the free space of the underlying storage device of the <see cref="ResolvedPath"/>. /// </summary> public long FreeSpace { get; init; } /// <summary> - /// Gets the used space of the underlying storage device of the <see cref="Path"/>. + /// Gets the used space of the underlying storage device of the <see cref="ResolvedPath"/>. /// </summary> public long UsedSpace { get; init; } /// <summary> - /// Gets the kind of storage device of the <see cref="Path"/>. + /// Gets the kind of storage device of the <see cref="ResolvedPath"/>. /// </summary> public string? StorageType { get; init; } |
