Simplifying method
This commit is contained in:
@@ -167,12 +167,8 @@ public class DirectoryManager : BaseManager
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool IsDirectoryEmpty(string path)
|
private bool IsDirectoryEmpty(string path) =>
|
||||||
{
|
!(Directory.EnumerateFileSystemEntries(path).Any());
|
||||||
var paths = Directory.EnumerateFileSystemEntries(path);
|
|
||||||
|
|
||||||
return !paths.Any();
|
|
||||||
}
|
|
||||||
|
|
||||||
private string AlbumDirectory()
|
private string AlbumDirectory()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user