Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
225
function
stringValue(value: unknown) {
226
return
typeof value ===
"string"
? value : undefined
227
}
228
229
type
PermissionFileMetadata = {
230
readonly filePath: string
Callers
5
writeProposedEdit
Method · 0.70
permissionTitle
Function · 0.70
editTitle
Function · 0.70
permissionContent
Function · 0.70
fileMetadata
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected