Lines Matching refs:FileInfo
26 FileInfo::FileInfo()
28 memset(this, 0, sizeof(FileInfo));
31 FileInfo::FileInfo(const FileInfo& that)
33 memcpy(this, &that, sizeof(FileInfo));
36 FileInfo::FileInfo(const string& filename)
41 memset(this, 0, sizeof(FileInfo));
51 FileInfo::operator==(const FileInfo& that) const
60 FileInfo::operator!=(const FileInfo& that) const
68 FileInfo::~FileInfo()
74 fileInfo()
81 fileInfo = that.fileInfo;
86 fileInfo(file)
97 FileInfo updated(filename);
98 return !updated.exists || fileInfo != updated;
102 get_directory_contents(const string& name, map<string,FileInfo>* results)
120 (*results)[filename] = FileInfo(filename);
128 directory_contents_differ(const map<string,FileInfo>& before, const map<string,FileInfo>& after)
133 map<string,FileInfo>::const_iterator b = before.begin();
134 map<string,FileInfo>::const_iterator a = after.begin();