

def _req_files_edit(self, fid, file_name=None, is_mark=0):
    'Edit a file or directory'
    url = (res.web_api_url + '/edit')
    data = locals()
    del data['self']
    req = Request(method='POST', url=url, data=data)
    res = self.http.send(req)
    if res.state:
        return True
    else:
        raise RequestFailure('Failed to access files API.')

dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py API._req_files_edit/VarMisuse@25/43 `self`->`res`