/**
* check if a node is a (grand-)child of the folder
*
- * @param \OC\Files\Node\Node $node
+ * @param \OCP\Files\Node\Node $node
* @return bool
*/
public function isSubNode($node);
* get the content of this directory
*
* @throws \OC\Files\NotFoundException
- * @return Node[]
+ * @return \OCP\Files\Node\Node[]
*/
public function getDirectoryListing();
* Get the node at $path
*
* @param string $path
- * @return \OC\Files\Node\Node
+ * @return \OCP\Files\Node\Node
* @throws \OC\Files\NotFoundException
*/
public function get($path);
/**
* @param string $path
- * @return Folder
+ * @return \OCP\Files\Node\Folder
* @throws NotPermittedException
*/
public function newFolder($path);
/**
* @param string $path
- * @return File
+ * @return \OCP\Files\Node\File
* @throws NotPermittedException
*/
public function newFile($path);
* search for files with the name matching $query
*
* @param string $query
- * @return Node[]
+ * @return \OCP\Files\Node\Node[]
*/
public function search($query);
* search for files by mimetype
*
* @param string $mimetype
- * @return Node[]
+ * @return \OCP\Files\Node\Node[]
*/
public function searchByMime($mimetype);
/**
* @param $id
- * @return Node[]
+ * @return \OCP\Files\Node\Node[]
*/
public function getById($id);
/**
* @param string $targetPath
* @throws \OC\Files\NotPermittedException
- * @return \OC\Files\Node\Node
+ * @return \OCP\Files\Node\Node
*/
public function move($targetPath);
/**
* @param string $targetPath
- * @return \OC\Files\Node\Node
+ * @return \OCP\Files\Node\Node
*/
public function copy($targetPath);