MCPcopy Create free account
hub / github.com/exercism/cli / FilePersister

Struct FilePersister

config/persister.go:17–19  ·  view source on GitHub ↗

FilePersister saves viper configs to the file system.

Source from the content-addressed store, hash-verified

15
16// FilePersister saves viper configs to the file system.
17type FilePersister struct {
18 Dir string
19}
20
21// Save writes the viper config to the target location on the filesystem.
22func (p FilePersister) Save(v *viper.Viper, basename string) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected