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

Method PathsSeparator

PathCopyCopy/plugins/src/PipelinePlugin.cpp:187–198  ·  view source on GitHub ↗

Returns the separator to use between each path when using this plugin. The default value is the empty string, which instructs PCC to use the default value (usually a newline). @return Separator between each path, or empty string to use default value.

Source from the content-addressed store, hash-verified

185 // @return Separator between each path, or empty string to use default value.
186 //
187 std::wstring PipelinePlugin::PathsSeparator() const
188 {
189 // This is stored in pipeline options.
190 std::wstring separator;
191 const Pipeline* pPipeline = GetPipeline();
192 if (pPipeline != nullptr) {
193 PipelineOptions options;
194 pPipeline->ModifyOptions(options);
195 separator = options.GetPathsSeparator();
196 }
197 return separator;
198 }
199
200 //
201 // Returns whether to copy paths recursively or not.

Callers

nothing calls this directly

Calls 2

GetPathsSeparatorMethod · 0.80
ModifyOptionsMethod · 0.45

Tested by

no test coverage detected