MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / getEntityTypeFromID

Function getEntityTypeFromID

metadata.go:21–36  ·  view source on GitHub ↗

getEntityTypeFromID determines the entity type from the ID prefix. It analyzes the prefix of the provided ID and returns the corresponding entity type. Parameters: - id: A string representing the entity ID to analyze. Returns: - string: The determined entity type ("transactions", "ledgers", "balan

(id string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

UpdateMetadataMethod · 0.85
TestGetEntityTypeFromIDFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestGetEntityTypeFromIDFunction · 0.68