moduleRepositoryMirroringdefset_remote_as_mirror(name)config=raw_repository.rugged.config# This is used to define repository as equivalent as "git clone --mirror"config["remote.#{name}.fetch"]='refs/*:refs/*'config["remote.#{name}.mirror"]=trueconfig["remote.#{name}.prune"]=trueend