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

Method lchown

Libraries/FileSystem/FileSystem.cpp:684–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682}
683
684SC::Result SC::FileSystem::lchown(StringSpan path, uint32_t uid, uint32_t gid)
685{
686 StringSpan encodedPath;
687 SC_TRY(convert(path, fileFormatBuffer1, fileTransportBuffer1, &encodedPath));
688 return FileSystem::Operations::lchown(encodedPath, uid, gid);
689}
690
691SC::Result SC::FileSystem::lchmod(StringSpan path, uint32_t mode)
692{

Callers 1

permissionsMethod · 0.80

Calls 2

windowsStatFunction · 0.85
ResultClass · 0.50

Tested by 1

permissionsMethod · 0.64