Implement access()

This commit is contained in:
Les De Ridder 2016-11-08 03:17:21 +01:00
parent 77e64e4c37
commit a141d740fd
No known key found for this signature in database
GPG Key ID: 5EC132DFA85DB372
1 changed files with 7 additions and 0 deletions

View File

@ -158,6 +158,13 @@ class FileSystem : Operations
return realPath.length;
}
override bool access(const(char)[] path, int mode)
{
//TODO: Check if this should always be true
return true;
}
override string[] readdir(const(char)[] path)
{
if(path in _dirCache)