aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Library/LibraryStructureService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-09-13 19:07:54 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-09-13 19:07:54 -0400
commit8cf45a3e4a5345f704f8acef098b173ec1808251 (patch)
tree06560c42256b91d02744369b8dc834ade8bc8ffb /MediaBrowser.Api/Library/LibraryStructureService.cs
parent6cb184fcf8ea7803626e0f3e0a3c7f118e4328e9 (diff)
add more methods to IFileSystem
Diffstat (limited to 'MediaBrowser.Api/Library/LibraryStructureService.cs')
-rw-r--r--MediaBrowser.Api/Library/LibraryStructureService.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Library/LibraryStructureService.cs b/MediaBrowser.Api/Library/LibraryStructureService.cs
index c9baf5c37..c8731637c 100644
--- a/MediaBrowser.Api/Library/LibraryStructureService.cs
+++ b/MediaBrowser.Api/Library/LibraryStructureService.cs
@@ -210,7 +210,10 @@ namespace MediaBrowser.Api.Library
{
var path = Path.Combine(virtualFolderPath, request.CollectionType + ".collection");
- _fileSystem.CreateFile(path);
+ using (File.Create(path))
+ {
+
+ }
}
}
finally