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

Method SetFileName

src/TortoiseMerge/WorkingFile.cpp:36–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void CWorkingFile::SetFileName(const CString& newFilename)
37{
38 m_sFilename = newFilename;
39 m_sFilename.Replace('/', '\\');
40 m_sDescriptiveName.Empty();
41 ClearStoredAttributes();
42}
43
44void CWorkingFile::SetDescriptiveName(const CString& newDescName)
45{

Callers 8

FileOpenSaveMethod · 0.80
InitInstanceMethod · 0.80
PatchFileMethod · 0.80
DiffFilesMethod · 0.80
OnFileOpenMethod · 0.80
LoadViewsMethod · 0.80
SaveFileMethod · 0.80
SaveFileToMethod · 0.80

Calls 2

ReplaceMethod · 0.80
EmptyMethod · 0.45

Tested by

no test coverage detected