minor storage interface tweaks

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2017-01-24 16:58:04 +01:00
parent f55260bc83
commit f73527c42f
No known key found for this signature in database
GPG Key ID: 50F2B59C6DEBBCFE
2 changed files with 3 additions and 2 deletions

View File

@ -32,6 +32,7 @@ interface IScanner {
const SCAN_RECURSIVE = true;
const SCAN_SHALLOW = false;
const REUSE_NONE = 0;
const REUSE_ETAG = 1;
const REUSE_SIZE = 2;

View File

@ -383,7 +383,7 @@ interface IStorage {
public function verifyPath($path, $fileName);
/**
* @param \OCP\Files\Storage $sourceStorage
* @param \OCP\Files\Storage|\OCP\Files\Storage\IStorage $sourceStorage
* @param string $sourceInternalPath
* @param string $targetInternalPath
* @return bool
@ -392,7 +392,7 @@ interface IStorage {
public function copyFromStorage(\OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath);
/**
* @param \OCP\Files\Storage $sourceStorage
* @param \OCP\Files\Storage|\OCP\Files\Storage\IStorage $sourceStorage
* @param string $sourceInternalPath
* @param string $targetInternalPath
* @return bool