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

Method readSymbolicLink

Libraries/FileSystem/FileSystem.cpp:662–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660}
661
662SC::Result SC::FileSystem::readSymbolicLink(StringSpan linkFile, StringPath& destination)
663{
664 StringSpan encodedPath;
665 SC_TRY(convert(linkFile, fileFormatBuffer1, fileTransportBuffer1, &encodedPath));
666 SC_TRY(FileSystem::Operations::readSymbolicLink(encodedPath, destination));
667 return Result(true);
668}
669
670SC::Result SC::FileSystem::chmod(StringSpan path, uint32_t mode)
671{

Callers 1

symbolicLinkMethod · 0.80

Calls 7

MakeDeferredFunction · 0.85
writableSpanMethod · 0.80
ResultClass · 0.50
ErrorEnum · 0.50
dataMethod · 0.45
resizeMethod · 0.45
viewMethod · 0.45

Tested by 1

symbolicLinkMethod · 0.64