Пример #1
0
 def _getdir(self, path, offset=0, rev=None):
     request = Request(path=path, offset=offset, verb=Request.GETDIR)
     if rev:
         request.rev = rev
     return self.connection.send(request)
Пример #2
0
 def _walk(self, path, offset=0, rev=None):
     request = Request(path=path, offset=offset, verb=Request.WALK)
     if rev:
         request.rev = rev
     return self.connection.send(request)
Пример #3
0
 def get(self, path, rev=None):
     request = Request(path=path, verb=Request.GET)
     if rev:
         request.rev = rev
     return self.connection.send(request)