MCPcopy Create free account
hub / github.com/anomalyco/opencode / stringValue

Function stringValue

packages/opencode/src/acp/permission.ts:225–227  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

223}
224
225function stringValue(value: unknown) {
226 return typeof value === "string" ? value : undefined
227}
228
229type PermissionFileMetadata = {
230 readonly filePath: string

Callers 5

writeProposedEditMethod · 0.70
permissionTitleFunction · 0.70
editTitleFunction · 0.70
permissionContentFunction · 0.70
fileMetadataFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected