public void listQueryImpl(String path,
                            Result<List<String>> result)
  {
    _dirList.findAll(result.then(cursorIter->listResult(cursorIter, path)), 
                     calculateParentHash(path), path);
  }
public void listQueryImpl ( String path , Result < List < String > > result ) { _dirList . findAll ( result . then ( cursorIter -> listResult ( cursorIter , path ) ) , calculateParentHash ( path ) , path ) ; }
Asynchronously returns a list of files in the directory.