def _listdir_local(path, kwargs):
 request = file_service_pb.ListDirRequest()
 response = file_service_pb.ListDirResponse()
 request.set_path(path)
 if (kwargs and kwargs.has_key('marker')):
  request.set_marker(kwargs['marker'])
 if (kwargs and kwargs.has_key('max-keys')):
  request.set_max_keys(kwargs['max-keys'])
 if (kwargs and kwargs.has_key('prefix')):
  request.set_prefix(kwargs['prefix'])
 files._make_call('ListDir', request, response)
 return response.filenames_list()

def _listdir_local ( path , kwargs ) : request = file_service_pb . ListDirRequest ( ) response = file_service_pb . ListDirResponse ( ) request . set_path ( path ) if ( kwargs and kwargs . has_key ( 'marker' ) ) : request . set_marker ( kwargs [ 'marker' ] ) if ( kwargs and kwargs . has_key ( 'max-keys' ) ) : request . set_max_keys ( kwargs [ 'max-keys' ] ) if ( kwargs and kwargs . has_key ( 'prefix' ) ) : request . set_prefix ( kwargs [ 'prefix' ] ) files . _make_call ( 'ListDir' , request , response ) return response . filenames_list ( )
dev app server version of listdir .