diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-21 17:09:01 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-21 17:09:01 +0100 |
commit | c22d2aadb41b6014516b31c978634c4979d9a43c (patch) | |
tree | e0d1284ef0e591316f083abfccf9404fd95557b3 /module/remote/pyload.thrift | |
parent | removed pie charts (diff) | |
download | pyload-c22d2aadb41b6014516b31c978634c4979d9a43c.tar.xz |
added tags attribute to packages
Diffstat (limited to 'module/remote/pyload.thrift')
-rw-r--r-- | module/remote/pyload.thrift | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/remote/pyload.thrift b/module/remote/pyload.thrift index 50164c292..183fd3af8 100644 --- a/module/remote/pyload.thrift +++ b/module/remote/pyload.thrift @@ -427,7 +427,9 @@ service Pyload { PackageInfo getPackageInfo(1: PackageID pid) throws (1: PackageDoesNotExists e), FileInfo getFileInfo(1: FileID fid) throws (1: FileDoesNotExists e), + TreeCollection findFiles(1: string pattern), + TreeCollection findPackages(1: list<string> tags), /////////////////////// // Modify Downloads @@ -445,9 +447,8 @@ service Pyload { ///////////////////////// // moving package while downloading is not possible, so they will return bool to indicate success - void setPackagePaused(1: PackageID pid, 2: bool paused) throws (1: PackageDoesNotExists e), + void updatePackage(1: PackageInfo pack) throws (1: PackageDoesNotExists e), bool setPackageFolder(1: PackageID pid, 2: string path) throws (1: PackageDoesNotExists e), - void setPackageData(1: PackageID pid, 2: map<string, string> data) throws (1: PackageDoesNotExists e), // as above, this will move files on disk bool movePackage(1: PackageID pid, 2: PackageID root) throws (1: PackageDoesNotExists e), |