Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Refactor file writing out to decouple from Secrets #95

Merged
merged 1 commit into from
Aug 22, 2019

Commits on Aug 22, 2019

  1. Refactor file writing out to decouple from Secrets

    This makes a new function which handles atomically writing files with a given
    mode and permissions.  I plan to reuse this code in the future, so this is just
    the first part of seperation
    
    The package is called "output" because I plan to move the Output* code there
    too, but that requires a bit more refactoring to avoid circular dependencies.
    So that's another PR for later.
    
    Normalize uid and gid to int, instead of uint32, as int is what f.Chown takes.
    mcpherrinm committed Aug 22, 2019
    Configuration menu
    Copy the full SHA
    6b9898f View commit details
    Browse the repository at this point in the history