nc-photos/lib/remote_storage_util.dart
2021-08-09 04:42:25 +08:00

14 lines
519 B
Dart

import 'package:nc_photos/account.dart';
import 'package:nc_photos/api/api_util.dart' as api_util;
String getRemoteAlbumsDir(Account account) =>
"${getRemoteStorageDir(account)}/albums";
String getRemotePendingSharedAlbumsDir(Account account) =>
"${getRemoteStorageDir(account)}/shared_albums";
String getRemoteTouchDir(Account account) =>
"${getRemoteStorageDir(account)}/touch";
String getRemoteStorageDir(Account account) =>
"${api_util.getWebdavRootUrlRelative(account)}/.com.nkming.nc_photos";