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

Method GetPath

PathCopyCopy/plugins/src/PipelinePlugin.cpp:168–178  ·  view source on GitHub ↗

Modifies a path using all elements in our pipeline. @param p_File Path of file to modify. @return Modified path.

Source from the content-addressed store, hash-verified

166 // @return Modified path.
167 //
168 std::wstring PipelinePlugin::GetPath(const std::wstring& p_File) const
169 {
170 std::wstring modifiedPath(p_File);
171 const Pipeline* pPipeline = GetPipeline();
172 if (pPipeline != nullptr) {
173 pPipeline->ModifyPath(modifiedPath, m_pPluginProvider);
174 } else if (!m_PipelineError.empty()) {
175 modifiedPath = ATL::CStringW(m_PipelineError.c_str());
176 }
177 return modifiedPath;
178 }
179
180 //
181 // Returns the separator to use between each path when using this plugin.

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.80
ModifyPathMethod · 0.45

Tested by

no test coverage detected