Implement access()
This commit is contained in:
parent
77e64e4c37
commit
a141d740fd
|
@ -158,6 +158,13 @@ class FileSystem : Operations
|
||||||
return realPath.length;
|
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)
|
override string[] readdir(const(char)[] path)
|
||||||
{
|
{
|
||||||
if(path in _dirCache)
|
if(path in _dirCache)
|
||||||
|
|
Loading…
Reference in New Issue