DRY: extract writeMetadata method and reuse it
This nicely decouples the "default init when loading empty repo" code from actually writing that state out back to the file.
parent
50f09b3a
Please register or sign in to comment
This nicely decouples the "default init when loading empty repo" code from actually writing that state out back to the file.