MCPcopy Create free account
hub / github.com/blues/note / compositeNoteID

Function compositeNoteID

lib/notebox.go:70–72  ·  view source on GitHub ↗

compositeNoteID creates a valid Note ID from the required components

(endpoint string, notefile string)

Source from the content-addressed store, hash-verified

68
69// compositeNoteID creates a valid Note ID from the required components
70func compositeNoteID(endpoint string, notefile string) string {
71 return endpoint + ReservedIDDelimiter + notefile
72}
73
74// parseCompositeNoteID extracts componets from a Notebox Note ID
75func parseCompositeNoteID(noteid string) (isInstance bool, endpoint string, notefile string) {

Callers 7

initNoteboxFunction · 0.85
NotefileExistsMethod · 0.85
uAddNotefileMethod · 0.85
OpenNotefileMethod · 0.85
CheckpointNotefileMethod · 0.85
DeleteNotefileMethod · 0.85
MergeNoteboxMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected