Definition at line 70 of file dirCount.cpp.
◆ specials
Enumerator |
---|
denied | |
noent | |
notdir | |
Definition at line 72 of file dirCount.cpp.
◆ counterType()
counterType::counterType |
( |
| ) |
|
|
inline |
◆ count()
void counterType::count |
( |
unsigned char |
what | ) |
|
|
inline |
◆ init()
static void counterType::init |
( |
| ) |
|
|
inlinestatic |
◆ keyToName()
Definition at line 95 of file dirCount.cpp.
96 const static std::vector<itemDescriptor> kTN{
97 {DT_BLK,
"blockDevice",
'b'},
98 {DT_CHR,
"characterDevice",
'c'},
99 {DT_DIR,
"directory",
'd'},
100 {DT_FIFO,
"fifo",
'p'},
101 {DT_LNK,
"symlink",
'l'},
102 {DT_REG,
"file",
'f'},
103 {DT_SOCK,
"socket",
's'},
104 {DT_UNKNOWN,
"unknown",
'u'},
105 {specials::denied,
"accesDenied",
'D'},
106 {specials::noent,
"noSuchFile",
'M'},
107 {specials::notdir,
"notADirectory",
'N'}
Referenced by init(), print(), and sum().
◆ print()
void counterType::print |
( |
| ) |
|
|
inline |
◆ sum()
◆ counters
std::array<uint64_t, 256> counterType::counters |
|
private |
The documentation for this class was generated from the following file:
static options::single< bool > quiet('q', "quiet", "be quiet, no prefix to output lines")