MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / lstat

Method lstat

Libraries/FileSystem/FileSystem.cpp:654–660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

652 return FileSystem::Operations::existsAndIsLink(encodedPath, isLink);
653}
654
655bool SC::FileSystem::canAccess(StringSpan fileOrDirectory, AccessMode accessMode)
656{
657 bool canAccessPath = false;
658 return canAccess(fileOrDirectory, accessMode, canAccessPath) and canAccessPath;
659}
660
661SC::ResultFileSystem SC::FileSystem::canAccess(StringSpan fileOrDirectory, AccessMode accessMode, bool& canAccessPath)
662{
663 canAccessPath = false;

Callers 2

FileSystemTest.cppFile · 0.80
permissionsMethod · 0.80

Calls 2

windowsStatFunction · 0.85
ResultClass · 0.50

Tested by 1

permissionsMethod · 0.64