MCPcopy Create free account
hub / github.com/akalin/gopar / FindWithPrefixAndSuffix

Method FindWithPrefixAndSuffix

par2/decoder.go:30–32  ·  view source on GitHub ↗
(prefix, suffix string)

Source from the content-addressed store, hash-verified

28}
29
30func (io defaultFileIO) FindWithPrefixAndSuffix(prefix, suffix string) ([]string, error) {
31 return filepath.Glob(prefix + "*" + suffix)
32}
33
34func (io defaultFileIO) WriteFile(path string, data []byte) error {
35 return ioutil.WriteFile(path, data, 0600)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected