Skip to content

Commit

Permalink
Trivial: Remove unused listDirectory string overload
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 committed Dec 19, 2023
1 parent 60d9cee commit eb305cf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions source/dub/internal/vibecompat/core/file.d
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,7 @@ void listDirectory(NativePath path, scope bool delegate(FileInfo info) del)
if( !del(makeFileInfo(ent)) )
break;
}
/// ditto
void listDirectory(string path, scope bool delegate(FileInfo info) del)
{
listDirectory(NativePath(path), del);
}

/// ditto
int delegate(scope int delegate(ref FileInfo)) iterateDirectory(NativePath path)
{
Expand Down

0 comments on commit eb305cf

Please sign in to comment.