mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 22:27:31 -04:00
Merge pull request #3240 from nextcloud/storage-interface-tweaks
minor storage interface tweaks
This commit is contained in:
commit
933fd9c94d
2 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue