MCPcopy Create free account
hub / github.com/F-Stack/f-stack / getFileInfo

Function getFileInfo

freebsd/contrib/zstd/programs/fileio.c:2924–2930  ·  view source on GitHub ↗

getFileInfo() : * Reads information from file, stores in *info * @return : InfoError status */

Source from the content-addressed store, hash-verified

2922 * @return : InfoError status
2923 */
2924static InfoError
2925getFileInfo(fileInfo_t* info, const char* srcFileName)
2926{
2927 ERROR_IF(!UTIL_isRegularFile(srcFileName),
2928 info_file_error, "Error : %s is not a file", srcFileName);
2929 return getFileInfo_fileConfirmed(info, srcFileName);
2930}
2931
2932
2933static void

Callers 1

FIO_listFileFunction · 0.85

Calls 2

UTIL_isRegularFileFunction · 0.85

Tested by

no test coverage detected