package secretstore // FileReader resolves the current atomic snapshot written by another process. // It deliberately has no write methods and never falls back to stale secrets. type FileReader struct{ Path string } func (r FileReader) Get(key string) ([]byte, bool) { store, err := Open(r.Path) if err != nil { return nil, false } return store.Get(key) }