MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / isDir

Function isDir

src/OSspecific/POSIX/POSIX.C:536–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534
535
536bool Foam::isDir(const fileName& name, const bool followLink)
537{
538 if (POSIX::debug)
539 {
540 Pout<< FUNCTION_NAME << " : name:" << name << endl;
541 if ((POSIX::debug & 2) && !Pstream::master())
542 {
543 error::printStack(Pout);
544 }
545 }
546 return S_ISDIR(mode(name, followLink));
547}
548
549
550bool Foam::isFile

Callers 15

cpFunction · 0.70
addWatchFunction · 0.70
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
helpType.CFile · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50

Calls 2

printStackFunction · 0.70
modeFunction · 0.70

Tested by

no test coverage detected