mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-09 01:50:30 +00:00
feat: task file manage (#196)
1. support view task file list 2. support share file on android and iOS
This commit is contained in:
14 files changed
+312
-14
No files matched your search
@@ -12,6 +12,13 @@ class Util {
|
||||
return path;
|
||||
}
|
||||
|
||||
static String safePathJoin(List<String> paths) {
|
||||
return paths
|
||||
.map((e) => safeDir(e))
|
||||
.join("/")
|
||||
.replaceAll(RegExp(r'//'), "/");
|
||||
}
|
||||
|
||||
static String fmtByte(int byte) {
|
||||
if (byte < 0) {
|
||||
return "0 B";
|
||||
|
||||
Reference in new issue
Block a user