diff options
Diffstat (limited to 'lib/public/files/folder.php')
-rw-r--r-- | lib/public/files/folder.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/public/files/folder.php b/lib/public/files/folder.php index 9797fbc46ed..916f190ac34 100644 --- a/lib/public/files/folder.php +++ b/lib/public/files/folder.php @@ -146,4 +146,13 @@ interface Folder extends Node { * @return bool */ public function isCreatable(); + + /** + * Add a suffix to the name in case the file exists + * + * @param string $name + * @return string + * @throws NotPermittedException + */ + public function getNonExistingName($name); } |