github.com/eliastor/durgaform@v0.0.0-20220816172711-d0ab2d17673e/internal/command/workdir/doc.go (about)

     1  // Package workdir models the various local artifacts and state we keep inside
     2  // a Durgaform "working directory".
     3  //
     4  // The working directory artifacts and settings are typically initialized or
     5  // modified by "durgaform init", after which they persist for use by other
     6  // commands in the same directory, but are not visible to commands run in
     7  // other working directories or on other computers.
     8  //
     9  // Although "durgaform init" is the main command which modifies a workdir,
    10  // other commands do sometimes make more focused modifications for settings
    11  // which can typically change multiple times during a session, such as the
    12  // currently-selected workspace name. Any command which modifies the working
    13  // directory settings must discard and reload any objects which derived from
    14  // those settings, because otherwise the existing objects will often continue
    15  // to follow the settings that were present when they were created.
    16  package workdir