diff options
| author | 2013-12-13 18:38:53 +0100 | |
|---|---|---|
| committer | 2013-12-13 18:38:53 +0100 | |
| commit | 3e84ea823766adef12946de90b33e62a84b52c46 (patch) | |
| tree | c6b2345cc3c2f9c4f67a6985bd3c8282cdac9e59 /pyload/api/FileApi.py | |
| parent | plugin selection for linkgrabber, partial closes #182 (diff) | |
| download | pyload-3e84ea823766adef12946de90b33e62a84b52c46.tar.xz | |
added new file states
Diffstat (limited to 'pyload/api/FileApi.py')
| -rw-r--r-- | pyload/api/FileApi.py | 15 | 
1 files changed, 15 insertions, 0 deletions
| diff --git a/pyload/api/FileApi.py b/pyload/api/FileApi.py index 817bae348..449a520b6 100644 --- a/pyload/api/FileApi.py +++ b/pyload/api/FileApi.py @@ -152,6 +152,21 @@ class FileApi(ApiComponent):          """          return self.core.files.moveFiles(fids, pid) +    def deleteFiles(self, fids): +        """ Deletes files from disk +        :param fids: list of file ids +        :return: False if any file can't be deleted currently +        """ +        # TODO + + +    def deletePackages(self, pids): +        """ Delete package and all content from disk recursively +        :param pids: list of package ids +        :return: False if any package can't be deleted currently +        """ +        # TODO +      @RequirePerm(Permission.Modify)      def orderPackage(self, pid, position):          """Set new position for a package. | 
