MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / IsUsed

Method IsUsed

pcsx2/SIO/Memcard/MemoryCardFolder.h:114–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 bool IsFile() const { return !!(entry.data.mode & Mode_File); }
113 bool IsDir() const { return !!(entry.data.mode & Mode_Directory); }
114 bool IsUsed() const { return !!(entry.data.mode & Mode_Used); }
115 bool IsValid() const { return entry.data.mode != 0xFFFFFFFF; }
116 // checks if we're either "." or ".."
117 bool IsDotDir() const { return entry.data.name[0] == '.' && (entry.data.name[1] == '\0' || (entry.data.name[1] == '.' && entry.data.name[2] == '\0')); }

Calls

no outgoing calls

Tested by

no test coverage detected