MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / SetProjectID

Function SetProjectID

internal/libs/contextutil/contextutil.go:47–49  ·  view source on GitHub ↗
(ctx context.Context, projectId string)

Source from the content-addressed store, hash-verified

45}
46
47func SetProjectID(ctx context.Context, projectId string) context.Context {
48 return Set(ctx, projectIdKey, projectId)
49}
50
51func GetProjectID(ctx context.Context) (string, error) {
52 v, ok := Get[string](ctx, projectIdKey)

Callers 2

prepareMethod · 0.92
prepareMethod · 0.92

Calls 1

SetFunction · 0.85

Tested by

no test coverage detected