MCPcopy Index your code
hub / github.com/coder/coder / createObjectID

Function createObjectID

codersdk/toolsdk/chatgpt.go:43–48  ·  view source on GitHub ↗
(objectType ObjectType, id string)

Source from the content-addressed store, hash-verified

41}
42
43func createObjectID(objectType ObjectType, id string) ObjectID {
44 return ObjectID{
45 Type: objectType,
46 ID: id,
47 }
48}
49
50func searchTemplates(ctx context.Context, deps Deps, query string) ([]SearchResultItem, error) {
51 serverURL := deps.ServerURL()

Callers 2

searchTemplatesFunction · 0.85
searchWorkspacesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected