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

Method existsAndIsDirectory

Libraries/FileSystem/FileSystem.cpp:607–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

605}
606
607bool SC::FileSystem::existsAndIsDirectory(StringSpan directory)
608{
609 StringSpan encodedPath;
610 SC_TRY(convert(directory, fileFormatBuffer1, fileTransportBuffer1, &encodedPath));
611 return FileSystem::Operations::existsAndIsDirectory(encodedPath);
612}
613
614bool SC::FileSystem::existsAndIsFile(StringSpan file)
615{

Callers 15

runBuiltProgramFunction · 0.80
SCBuildFixtureTestMethod · 0.80
eventLoopWatchStopMethod · 0.80
fileSystemOperationsMethod · 0.80
makeRemoveIsDirectoryMethod · 0.80
renameDirectoryMethod · 0.80
symbolicLinkMethod · 0.80
hardLinkMethod · 0.80

Calls 2

statClass · 0.70
ResultClass · 0.50

Tested by 15

runBuiltProgramFunction · 0.64
SCBuildFixtureTestMethod · 0.64
eventLoopWatchStopMethod · 0.64
fileSystemOperationsMethod · 0.64
makeRemoveIsDirectoryMethod · 0.64
renameDirectoryMethod · 0.64
symbolicLinkMethod · 0.64
hardLinkMethod · 0.64