mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
new: webdav sync test
This commit is contained in:
@@ -6,7 +6,8 @@ enum ErrFrom {
|
||||
ssh,
|
||||
status,
|
||||
icloud,
|
||||
webdav,;
|
||||
webdav,
|
||||
;
|
||||
}
|
||||
|
||||
abstract class Err<T> {
|
||||
@@ -73,7 +74,8 @@ class ICloudErr extends Err<ICloudErrType> {
|
||||
|
||||
enum WebdavErrType {
|
||||
generic,
|
||||
notFound,;
|
||||
notFound,
|
||||
;
|
||||
}
|
||||
|
||||
class WebdavErr extends Err<WebdavErrType> {
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
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