diff --git a/Sources/LiquidKit/FileStorage.swift b/Sources/LiquidKit/FileStorage.swift index 3fe0deb..5230845 100644 --- a/Sources/LiquidKit/FileStorage.swift +++ b/Sources/LiquidKit/FileStorage.swift @@ -15,7 +15,13 @@ public protocol FileStorage { /// uploads the data under the given key func upload(key: String, data: Data) -> EventLoopFuture + + /// copy a file using a source key to a given destination key + func copy(key: String, to: String) -> EventLoopFuture + /// move a file using a source key to a given destination key + func move(key: String, to: String) -> EventLoopFuture + /// create a new directory for a given key func createDirectory(key: String) -> EventLoopFuture