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

Function modeToString

lib/vfs/amigaffs.cc:28–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26static RETCODE adfReleaseDevice(struct Device*);
27
28static std::string modeToString(long access)
29{
30 std::stringstream ss;
31 if (hasH(access))
32 ss << 'H';
33 if (hasS(access))
34 ss << 'S';
35 if (hasP(access))
36 ss << 'P';
37 if (hasA(access))
38 ss << 'A';
39 if (hasR(access))
40 ss << 'R';
41 if (hasW(access))
42 ss << 'W';
43 if (hasE(access))
44 ss << 'E';
45 if (hasD(access))
46 ss << 'D';
47 return ss.str();
48}
49
50class AmigaFfsFilesystem : public Filesystem
51{

Callers 1

toDirentMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected