MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / copy

Class copy

launcher/FileSystem.h:84–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82bool ensureFolderPathExists(const QString folderPathName);
83
84class copy {
85 public:
86 copy(const QString& src, const QString& dst)
87 {
88 m_src.setPath(src);
89 m_dst.setPath(dst);
90 }
91 copy& followSymlinks(const bool follow)
92 {
93 m_followSymlinks = follow;
94 return *this;
95 }
96 copy& blacklist(const IPathMatcher* filter)
97 {
98 m_blacklist = filter;
99 return *this;
100 }
101 bool operator()() { return operator()(QString()); }
102
103 private:
104 bool operator()(const QString& offset);
105
106 private:
107 bool m_followSymlinks = true;
108 const IPathMatcher* m_blacklist = nullptr;
109 QDir m_src;
110 QDir m_dst;
111};
112
113/**
114 * Delete a folder recursively

Callers 12

ApplicationMethod · 0.85
operator()Method · 0.85
mergeFoldersFunction · 0.85
SaveIconFunction · 0.85
installIconsMethod · 0.85
installIconMethod · 0.85
installMethod · 0.85
replaceMethod · 0.85
installResourceMethod · 0.85
fmllibsFinishedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected