MCPcopy Create free account
hub / github.com/baidu/EasyFaaS / plainLogFile

Struct plainLogFile

pkg/userlog/plain/plainlogfile.go:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35type plainLogFile struct {
36 writer *os.File
37 capacity int32
38}
39
40func NewPlainLogFile(fpath string, cap int) (userlog.UserLogFile, error) {
41 file, err := os.OpenFile(fpath, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0644)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected