MCPcopy Create free account
hub / github.com/TortoiseGit/TortoiseGit / StoreFileAttributes

Method StoreFileAttributes

src/TortoiseMerge/WorkingFile.cpp:157–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157void CWorkingFile::StoreFileAttributes()
158{
159 ClearStoredAttributes();
160
161 WIN32_FILE_ATTRIBUTE_DATA attribs = {0};
162 if (GetFileAttributesEx(m_sFilename, GetFileExInfoStandard, &attribs))
163 {
164 m_attribs = attribs;
165 }
166}
167
168void CWorkingFile::ClearStoredAttributes()
169{

Callers 7

LoadMethod · 0.80
InitInstanceMethod · 0.80
SaveFileMethod · 0.80
PatchSaveMethod · 0.80
FileSaveMethod · 0.80
CheckForReloadMethod · 0.80
SaveFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected