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

Method chown

Libraries/FileSystem/FileSystem.cpp:677–682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

675}
676
677SC::Result SC::FileSystem::chown(StringSpan path, uint32_t uid, uint32_t gid)
678{
679 StringSpan encodedPath;
680 SC_TRY(convert(path, fileFormatBuffer1, fileTransportBuffer1, &encodedPath));
681 return FileSystem::Operations::chown(encodedPath, uid, gid);
682}
683
684SC::Result SC::FileSystem::lchown(StringSpan path, uint32_t uid, uint32_t gid)
685{

Callers

nothing calls this directly

Calls 2

windowsStatFunction · 0.85
ResultClass · 0.50

Tested by

no test coverage detected