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

Method stat

Libraries/FileSystem/FileSystem.cpp:646–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644SC::Result SC::FileSystem::getFileStat(StringSpan file, FileStat& fileStat) { return stat(file, fileStat); }
645
646SC::Result SC::FileSystem::stat(StringSpan file, FileStat& fileStat)
647{
648 StringSpan encodedPath;
649 SC_TRY(convert(file, fileFormatBuffer1, fileTransportBuffer1, &encodedPath));
650 SC_TRY(FileSystem::Operations::stat(encodedPath, fileStat));
651 return Result(true);
652}
653
654SC::Result SC::FileSystem::lstat(StringSpan file, FileStat& fileStat)
655{

Callers

nothing calls this directly

Calls 3

windowsStatFunction · 0.85
statClass · 0.70
ResultClass · 0.50

Tested by

no test coverage detected