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

Method canAccess

Libraries/FileSystem/FileSystem.cpp:628–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626}
627
628bool SC::FileSystem::canAccess(StringSpan fileOrDirectory, AccessMode accessMode)
629{
630 StringSpan encodedPath;
631 SC_TRY(convert(fileOrDirectory, fileFormatBuffer1, fileTransportBuffer1, &encodedPath));
632 return FileSystem::Operations::access(encodedPath, accessMode);
633}
634
635bool SC::FileSystem::moveDirectory(StringSpan sourceDirectory, StringSpan destinationDirectory)
636{

Callers 1

accessMethod · 0.80

Calls

no outgoing calls

Tested by 1

accessMethod · 0.64