MCPcopy Create free account
hub / github.com/KDE/krusader / currentDir

Method currentDir

app/FileSystem/virtualfilesystem.h:67–71  ·  view source on GitHub ↗

Return current dir: "/" or pure directory name

Source from the content-addressed store, hash-verified

65private:
66 /// Return current dir: "/" or pure directory name
67 inline QString currentDir()
68 {
69 const QString path = _currentDirectory.path().mid(1); // remove slash
70 return path.isEmpty() ? "/" : path;
71 }
72 void mkDirInternal(const QString &name);
73 /// Save the dictionary to file
74 void save();

Callers

nothing calls this directly

Calls 3

midMethod · 0.80
isEmptyMethod · 0.80
pathMethod · 0.45

Tested by

no test coverage detected