MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey-v1.0 / GetLoopFileAttrib

Method GetLoopFileAttrib

Source/script.cpp:10991–10999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10989}
10990
10991VarSizeType Script::GetLoopFileAttrib(char *aBuf)
10992{
10993 char str[64] = ""; // Set default.
10994 if (mLoopFile)
10995 FileAttribToStr(str, mLoopFile->dwFileAttributes);
10996 if (aBuf)
10997 strcpy(aBuf, str);
10998 return (VarSizeType)strlen(str);
10999}
11000
11001VarSizeType Script::GetLoopFileSize(char *aBuf, int aDivider)
11002{

Callers 1

GetMethod · 0.80

Calls 1

FileAttribToStrFunction · 0.85

Tested by

no test coverage detected