MCPcopy
hub / github.com/hashicorp/hcl / flush

Function flush

cmd/hcldec/diags_json.go:102–107  ·  view source on GitHub ↗
(maybeFlusher interface{})

Source from the content-addressed store, hash-verified

100}
101
102func flush(maybeFlusher interface{}) error {
103 if f, ok := maybeFlusher.(flusher); ok {
104 return f.Flush()
105 }
106 return nil
107}

Callers 1

realmainFunction · 0.85

Calls 1

FlushMethod · 0.65

Tested by

no test coverage detected