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

Method exists

Libraries/FileSystem/FileSystem.cpp:600–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598}
599
600bool SC::FileSystem::exists(StringSpan fileOrDirectory)
601{
602 StringSpan encodedPath;
603 SC_TRY(convert(fileOrDirectory, fileFormatBuffer1, fileTransportBuffer1, &encodedPath));
604 return FileSystem::Operations::exists(encodedPath);
605}
606
607bool SC::FileSystem::existsAndIsDirectory(StringSpan directory)
608{

Callers 15

SCBuildFixtureTestMethod · 0.80
makeRemoveIsDirectoryMethod · 0.80
writeReadRemoveFileMethod · 0.80
copyExistsFileMethod · 0.80
symbolicLinkMethod · 0.80
prefixedPathInputMethod · 0.80
generate_svgsFunction · 0.80
check_dependenciesFunction · 0.80
mainFunction · 0.80
build_library_recordFunction · 0.80

Calls 2

statClass · 0.70
ResultClass · 0.50

Tested by 6

SCBuildFixtureTestMethod · 0.64
makeRemoveIsDirectoryMethod · 0.64
writeReadRemoveFileMethod · 0.64
copyExistsFileMethod · 0.64
symbolicLinkMethod · 0.64
prefixedPathInputMethod · 0.64