Exemple #1
0
    def get_deleted(self,
                    repo_id,
                    show_days,
                    path='/',
                    scan_stat=None,
                    limit=100):
        """
        Get list of deleted paths.

        @show_days: return deleted path in the last @show_days
        @path: return deleted files under this path. The path will be recursively traversed.
        @scan_stat: An opaque status returned by the last call. In the first call, None
                    must be passed. The last entry of the result list contains a 'scan_stat'
                    attribute. In the next call, pass in the returned 'scan_stat'.
        @limit: Advisory maximum number of commits to traverse. Sometimes more than @limit
                commits will be traversed.

        Return a list of DeletedEntry objects (lib/repo.vala).
        If no more deleted entries can be returned within the given time frame (specified by
        @show_days) or all deleted entries in the history have been returned, a list with a
        single entry will be returned. The 'scan_stat' attribute of this entry is set to
        None.
        """
        return seafserv_threaded_rpc.get_deleted(repo_id, show_days, path,
                                                 scan_stat, limit)
Exemple #2
0
    def get_deleted(self, repo_id, show_days, path='/', scan_stat=None, limit=100):
        """
        Get list of deleted paths.

        @show_days: return deleted path in the last @show_days
        @path: return deleted files under this path. The path will be recursively traversed.
        @scan_stat: An opaque status returned by the last call. In the first call, None
                    must be passed. The last entry of the result list contains a 'scan_stat'
                    attribute. In the next call, pass in the returned 'scan_stat'.
        @limit: Advisory maximum number of result entries returned. Sometimes more than @limit
                entries will be returned.

        Return a list of DeletedEntry objects (lib/repo.vala).
        If no more deleted entries can be returned within the given time frame (specified by
        @show_days) or all deleted entries in the history have been returned, 'None' will be
        returned.
        """
        return seafserv_threaded_rpc.get_deleted(repo_id, show_days, path, scan_stat, limit)
Exemple #3
0
 def get_deleted(self, repo_id, show_days):
     return seafserv_threaded_rpc.get_deleted(repo_id, show_days)
Exemple #4
0
 def get_deleted(self, repo_id, show_days):
     return seafserv_threaded_rpc.get_deleted(repo_id, show_days)
Exemple #5
0
 def get_deleted(self, repo_id, show_days, path='/', scan_stat=None, limit=100):
     return seafserv_threaded_rpc.get_deleted(repo_id, show_days, path, scan_stat, limit)
Exemple #6
0
 def get_deleted(self, repo_id, show_days, path='/', scan_stat=None, limit=100):
     return seafserv_threaded_rpc.get_deleted(repo_id, show_days, path, scan_stat, limit)