MCPcopy Create free account
hub / github.com/factorapp/factor / New

Function New

model/model.go:54–59  ·  view source on GitHub ↗
(fullPath string, info os.FileInfo)

Source from the content-addressed store, hash-verified

52}
53
54func New(fullPath string, info os.FileInfo) Model {
55 return Model{
56 fullPath: fullPath,
57 lowerName: strings.ToLower(files.SanitizedName(info.Name())),
58 }
59}

Callers 1

ProcessAllFunction · 0.85

Calls 1

SanitizedNameFunction · 0.92

Tested by

no test coverage detected