MCPcopy Create free account
hub / github.com/beefytech/Beef / BfpFile_GetAttributes

Function BfpFile_GetAttributes

BeefySysLib/platform/win/Platform.cpp:3356–3361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3354}
3355
3356BFP_EXPORT BfpFileAttributes BFP_CALLTYPE BfpFile_GetAttributes(const char* path, BfpFileResult* outResult)
3357{
3358 uint32 fileAttributes;
3359 GetFileInfo(path, NULL, &fileAttributes);
3360 return FileAttributes_WinToBFP(fileAttributes);
3361}
3362
3363BFP_EXPORT void BFP_CALLTYPE BfpFile_SetAttributes(const char* path, BfpFileAttributes attribs, BfpFileResult* outResult)
3364{

Callers 1

ExecuteMethod · 0.50

Calls 2

GetFileInfoFunction · 0.85
FileAttributes_WinToBFPFunction · 0.85

Tested by

no test coverage detected