mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-19 08:14:21 +01:00
new: webdav sync
This commit is contained in:
13
lib/data/model/app/remote_storage.dart
Normal file
13
lib/data/model/app/remote_storage.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
abstract class RemoteStorage {
|
||||
Future<Error> upload({
|
||||
required String relativePath,
|
||||
String? localPath
|
||||
});
|
||||
|
||||
Future<Error> download({
|
||||
required String relativePath,
|
||||
String? localPath
|
||||
});
|
||||
|
||||
Future<Error> delete(String relativePath);
|
||||
}
|
||||
Reference in New Issue
Block a user