MCPcopy Index your code
hub / github.com/dnote/dnote / ValidateUUID

Function ValidateUUID

pkg/server/helpers/uuid.go:34–38  ·  view source on GitHub ↗

ValidateUUID validates the given uuid

(u string)

Source from the content-addressed store, hash-verified

32
33// ValidateUUID validates the given uuid
34func ValidateUUID(u string) bool {
35 _, err := uuid.Parse(u)
36
37 return err == nil
38}

Callers 4

V3ShowMethod · 0.92
updateMethod · 0.92
delMethod · 0.92
GetNoteFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected