MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / GetMetaByPath

Function GetMetaByPath

internal/op/meta.go:39–41  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

37}
38
39func GetMetaByPath(path string) (*model.Meta, error) {
40 return getMetaByPath(utils.FixAndCleanPath(path))
41}
42func getMetaByPath(path string) (*model.Meta, error) {
43 meta, ok := metaCache.Get(path)
44 if ok {

Callers 1

getNearestMetaFunction · 0.70

Calls 2

FixAndCleanPathFunction · 0.92
getMetaByPathFunction · 0.85

Tested by

no test coverage detected