def update_server_info(repo):
 repo._put_named_file(os.path.join('info', 'refs'), ''.join(generate_info_refs(repo)))
 repo._put_named_file(os.path.join('objects', 'info', 'packs'), ''.join(generate_objects_info_packs(repo)))

def update_server_info ( repo ) : repo . _put_named_file ( os . path . join ( 'info' , 'refs' ) , '' . join ( generate_info_refs ( repo ) ) ) repo . _put_named_file ( os . path . join ( 'objects' , 'info' , 'packs' ) , '' . join ( generate_objects_info_packs ( repo ) ) )
update server info files for a repository .