mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 10:03:32 -04:00
Adding renameKeys to IStorage
This commit is contained in:
parent
4db75e3407
commit
35b97ed672
1 changed files with 10 additions and 1 deletions
|
|
@ -113,7 +113,6 @@ interface IStorage {
|
|||
public function deleteAllFileKeys($path);
|
||||
|
||||
/**
|
||||
|
||||
* delete system-wide encryption keys not related to a specific user,
|
||||
* e.g something like a key for public link shares
|
||||
*
|
||||
|
|
@ -123,4 +122,14 @@ interface IStorage {
|
|||
*/
|
||||
public function deleteSystemUserKey($keyId);
|
||||
|
||||
/**
|
||||
* move keys if a file was renamed
|
||||
*
|
||||
* @param string $source
|
||||
* @param string $target
|
||||
* @param string $owner
|
||||
* @param bool $systemWide
|
||||
*/
|
||||
public function renameKeys($source, $target, $owner, $systemWide);
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue