• Raphael Badin's avatar
    Write repo file using atomicfile · 965cb7fd
    Raphael Badin authored
    This prevents clients from seeing half-written files because
    on POSIX systems renaming a file is an atomic operation.
    
    Drive-by: Add test for repo file permission.
    965cb7fd
repo.go 3.54 KB