MCPcopy
hub / github.com/kashav/fsql / fullPath

Method fullPath

transform/format.go:100–105  ·  view source on GitHub ↗

fullPath returns the full path of the current file. Only supports the `name` attribute.

()

Source from the content-addressed store, hash-verified

98// fullPath returns the full path of the current file. Only supports the
99// `name` attribute.
100func (p *FormatParams) fullPath() (interface{}, error) {
101 if p.Attribute != "name" {
102 return nil, nil
103 }
104 return p.Path, nil
105}
106
107// shortPath returns the short path of the current file. Only supports the
108// `name` attribute.

Callers 1

FormatFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected