MCPcopy Create free account
hub / github.com/AdRoll/baker / open

Function open

pkg/splitwriter/split_writer.go:53–55  ·  view source on GitHub ↗
(fname string)

Source from the content-addressed store, hash-verified

51)
52
53func open(fname string) (*os.File, error) {
54 return os.OpenFile(fname, fflags, fmode)
55}
56
57// openSplit opens or creates the last split corresponding to fname
58// and returns it. The last split can be fname itself.

Callers 3

openSplitFunction · 0.85
doNextSplitFunction · 0.85
doFirstSplitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected