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

Function getMetaPath

server/common/check_test.go:953–958  ·  view source on GitHub ↗

Helper functions to safely extract meta fields

(meta *model.Meta)

Source from the content-addressed store, hash-verified

951
952// Helper functions to safely extract meta fields
953func getMetaPath(meta *model.Meta) string {
954 if meta == nil {
955 return "nil"
956 }
957 return meta.Path
958}
959
960func getMetaWrite(meta *model.Meta) bool {
961 if meta == nil {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected