def file_digest(project_tree, f):
 return FileDigest.create(f.path, project_tree.content(f.path))

def file_digest ( project_tree , f ) : return FileDigest . create ( f . path , project_tree . content ( f . path ) )
return a filedigest for a known-existing file .