nc-photos/lib/remote_storage_util.dart

12 lines
406 B
Dart
Raw Normal View History

2021-05-23 19:18:24 +02:00
import 'package:nc_photos/account.dart';
import 'package:nc_photos/api/api_util.dart' as api_util;
String getRemoteAlbumsDir(Account account) =>
"${getRemoteStorageDir(account)}/albums";
2021-05-23 19:18:24 +02:00
String getRemoteTouchDir(Account account) =>
"${getRemoteStorageDir(account)}/touch";
String getRemoteStorageDir(Account account) =>
2021-05-23 19:18:24 +02:00
"${api_util.getWebdavRootUrlRelative(account)}/.com.nkming.nc_photos";