MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / canCloneOnFS

Function canCloneOnFS

launcher/FileSystem.cpp:1237–1241  ·  view source on GitHub ↗

* @brief if the Filesystem is reflink/clone capable * */

Source from the content-addressed store, hash-verified

1235 *
1236 */
1237bool canCloneOnFS(const QString& path)
1238{
1239 FilesystemInfo info = statFS(path);
1240 return canCloneOnFS(info);
1241}
1242bool canCloneOnFS(const FilesystemInfo& info)
1243{
1244 return canCloneOnFS(info.fsType);

Callers 2

canCloneFunction · 0.85
CopyInstanceDialogMethod · 0.85

Calls 2

statFSFunction · 0.85
containsMethod · 0.45

Tested by

no test coverage detected