MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / CopyPathsRecursively

Method CopyPathsRecursively

PathCopyCopy/plugins/src/PipelinePlugin.cpp:206–217  ·  view source on GitHub ↗

Returns whether to copy paths recursively or not. The default value is false. @return Whether to copy paths recursively.

Source from the content-addressed store, hash-verified

204 // @return Whether to copy paths recursively.
205 //
206 bool PipelinePlugin::CopyPathsRecursively() const
207 {
208 // This is stored in pipeline options.
209 bool recursively = Plugin::CopyPathsRecursively();
210 const Pipeline* pPipeline = GetPipeline();
211 if (pPipeline != nullptr) {
212 PipelineOptions options;
213 pPipeline->ModifyOptions(options);
214 recursively = options.GetCopyPathsRecursively();
215 }
216 return recursively;
217 }
218
219 //
220 // Returns the action to perform on the path or paths when using this plugin.

Callers

nothing calls this directly

Calls 2

ModifyOptionsMethod · 0.45

Tested by

no test coverage detected