MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / fileTypeChar

Function fileTypeChar

src/fe-ls.cc:21–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19static StringFlag directory({"-p", "--path"}, "path to list", "");
20
21static char fileTypeChar(FileType file_type)
22{
23 switch (file_type)
24 {
25 case TYPE_FILE:
26 return ' ';
27
28 case TYPE_DIRECTORY:
29 return 'D';
30
31 default:
32 return '?';
33 }
34}
35
36int mainLs(int argc, const char* argv[])
37{

Callers 1

mainLsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected