parameters: (self, path)
return_statement: return Future(delegate=Gettable(resolve))
docstring: Calls |compilation_function| on the listing of the files at |path|.
      Assumes that the path given is to a directory.
docstring_summary: Calls |compilation_function| on the listing of the files at |path|.
      Assumes that the path given is to a directory.
docstring_tokens: Calls |compilation_function| on the listing of the files at |path| . Assumes that the path given is to a directory .
function: def GetFromFileListing(self, path):
      '''Calls |compilation_function| on the listing of the files at |path|.
      Assumes that the path given is to a directory.
      '''
      AssertIsDirectory(path)
  
      try:
        version = self._file_system.Stat(path).version
      except FileNotFoundError:
        return Future(exc_info=sys.exc_info())
  
      cache_entry = self._list_object_store.Get(path).Get()
      if (cache_entry is not None) and (version == cache_entry.version):
        return Future(value=cache_entry._cache_data)
  
      recursive_list_future = self._RecursiveList(path)
      def resolve():
        cache_data = self._compilation_function(path, recursive_list_future.Get())
        self._list_object_store.Set(path, _CacheEntry(cache_data, version))
        return cache_data
      return Future(delegate=Gettable(resolve))
function_tokens: def GetFromFileListing ( self , path ) : AssertIsDirectory ( path ) try : version = self . _file_system . Stat ( path ) . version except FileNotFoundError : return Future ( exc_info = sys . exc_info ( ) ) cache_entry = self . _list_object_store . Get ( path ) . Get ( ) if ( cache_entry is not None ) and ( version == cache_entry . version ) : return Future ( value = cache_entry . _cache_data ) recursive_list_future = self . _RecursiveList ( path ) def resolve ( ) : cache_data = self . _compilation_function ( path , recursive_list_future . Get ( ) ) self . _list_object_store . Set ( path , _CacheEntry ( cache_data , version ) ) return cache_data return Future ( delegate = Gettable ( resolve ) )