mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-17 13:53:41 +00:00
feat(download): auto-categorize downloads into folders by file extension (#1572)
This commit is contained in:
1 parent
d125d4ab75
commit
9aae13453a
55 files changed
+4403
-217
No files matched your search
@@ -9,7 +9,12 @@ class ResolveResult {
|
||||
String id;
|
||||
Resource res;
|
||||
|
||||
ResolveResult({this.id = "", required this.res});
|
||||
/// The category directory the created task would be routed to. Empty when
|
||||
/// auto categorize does not apply. It is a hint for the ui, the create call
|
||||
/// decides the final path.
|
||||
String suggestedDownloadDir;
|
||||
|
||||
ResolveResult({this.id = "", required this.res, this.suggestedDownloadDir = ""});
|
||||
|
||||
factory ResolveResult.fromJson(Map<String, dynamic> json) => _$ResolveResultFromJson(json);
|
||||
Map<String, dynamic> toJson() => _$ResolveResultToJson(this);
|
||||
|
||||
Reference in new issue
Block a user