コード例 #1
0
ファイル: Wrapper.php プロジェクト: GitHubUser4234/core
 /**
  * @param \OCP\Files\Storage $sourceStorage
  * @param string $sourceInternalPath
  * @param string $targetInternalPath
  * @return bool
  */
 public function moveFromStorage(\OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath)
 {
     if ($sourceStorage === $this) {
         return $this->rename($sourceInternalPath, $targetInternalPath);
     }
     return $this->storage->moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
 }