| 03 |
02 |
StorageService — CSOM StorageMetrics Scan Engine |
storage |
| csom |
| storage-metrics |
| scan-engine |
| c# |
|
complete |
| requires |
provides |
affects |
| 03-01 (StorageNode, StorageScanOptions, IStorageService, export stubs, test scaffolds) |
|
| StorageService (IStorageService implementation — CSOM scan engine) |
|
| 03-07 (StorageViewModel will consume IStorageService via DI) |
|
|
| added |
patterns |
|
|
| CSOM StorageMetrics loading pattern (ctx.Load with f => f.StorageMetrics expression) |
| ExecuteQueryRetryHelper.ExecuteQueryRetryAsync for all CSOM round-trips |
| Recursive subfolder scan with system folder filtering (Forms/, _-prefixed) |
| CancellationToken guard at top of every recursive step |
|
|
| created |
modified |
| SharepointToolbox/Services/StorageService.cs |
| SharepointToolbox/Services/Export/StorageCsvExportService.cs |
| SharepointToolbox/Services/Export/StorageHtmlExportService.cs |
| SharepointToolbox/Services/Export/SearchCsvExportService.cs |
| SharepointToolbox/Services/Export/SearchHtmlExportService.cs |
| SharepointToolbox/Services/Export/DuplicatesHtmlExportService.cs |
| SharepointToolbox.Tests/Services/StorageServiceTests.cs |
| SharepointToolbox.Tests/Services/SearchServiceTests.cs |
| SharepointToolbox.Tests/Services/DuplicatesServiceTests.cs |
| SharepointToolbox.Tests/Services/Export/StorageCsvExportServiceTests.cs |
| SharepointToolbox.Tests/Services/Export/StorageHtmlExportServiceTests.cs |
| SharepointToolbox.Tests/Services/Export/SearchExportServiceTests.cs |
| SharepointToolbox.Tests/Services/Export/DuplicatesHtmlExportServiceTests.cs |
|
|
|
| StorageService.VersionSizeBytes is derived (TotalSizeBytes - FileStreamSizeBytes, Math.Max 0) — not stored separately; set on StorageNode model |
| System folder filter uses Forms/ and _-prefix heuristic — matches SharePoint standard hidden folders |
| LastModified uses StorageMetrics.LastModified with fallback to Folder.TimeLastModified — StorageMetrics.LastModified may be DateTime.MinValue for empty libraries |
|
| duration |
completed_date |
tasks_completed |
files_created |
files_modified |
| 1 min |
2026-04-02 |
1 |
13 |
0 |
|