Lines Matching refs:sourcePath
118 * @param string $sourcePath The source location
122 function copy($sourcePath, $destinationPath) { argument
124 $sourceNode = $this->getNodeForPath($sourcePath);
139 * @param string $sourcePath The path to the file which should be moved
143 function move($sourcePath, $destinationPath) { argument
145 list($sourceDir) = URLUtil::splitPath($sourcePath);
150 $sourceNode = $this->getNodeForPath($sourcePath);
157 $sourceNode = $this->getNodeForPath($sourcePath);
158 $moveSuccess = $newParentNode->moveInto($destinationName, $sourcePath, $sourceNode);
161 $this->copy($sourcePath, $destinationPath);
162 $this->getNodeForPath($sourcePath)->delete();