Delete song endpoint Bug fix #111

Merged
kdeng00 merged 3 commits from delete_endpoint-bug_fix into master 2025-03-28 18:49:34 -04:00
Showing only changes of commit d66ceee959 - Show all commits
@@ -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()
{ {