minor storage interface tweaks
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
f55260bc83
commit
f73527c42f
|
@ -32,6 +32,7 @@ interface IScanner {
|
||||||
const SCAN_RECURSIVE = true;
|
const SCAN_RECURSIVE = true;
|
||||||
const SCAN_SHALLOW = false;
|
const SCAN_SHALLOW = false;
|
||||||
|
|
||||||
|
const REUSE_NONE = 0;
|
||||||
const REUSE_ETAG = 1;
|
const REUSE_ETAG = 1;
|
||||||
const REUSE_SIZE = 2;
|
const REUSE_SIZE = 2;
|
||||||
|
|
||||||
|
|
|
@ -383,7 +383,7 @@ interface IStorage {
|
||||||
public function verifyPath($path, $fileName);
|
public function verifyPath($path, $fileName);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param \OCP\Files\Storage $sourceStorage
|
* @param \OCP\Files\Storage|\OCP\Files\Storage\IStorage $sourceStorage
|
||||||
* @param string $sourceInternalPath
|
* @param string $sourceInternalPath
|
||||||
* @param string $targetInternalPath
|
* @param string $targetInternalPath
|
||||||
* @return bool
|
* @return bool
|
||||||
|
@ -392,7 +392,7 @@ interface IStorage {
|
||||||
public function copyFromStorage(\OCP\Files\Storage $sourceStorage, $sourceInternalPath, $targetInternalPath);
|
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 $sourceInternalPath
|
||||||
* @param string $targetInternalPath
|
* @param string $targetInternalPath
|
||||||
* @return bool
|
* @return bool
|
||||||
|
|
Loading…
Reference in New Issue