Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ attachment-picker.test.ts
File
attachment-picker.test.ts
packages/desktop/src/main/attachment-picker.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, expect, test } from
"bun:test"
2
import
{ mkdtemp, rm, truncate, writeFile } from
"node:fs/promises"
3
import
{ tmpdir } from
"node:os"
4
import
{ join } from
"node:path"
Callers
nothing calls this directly
Calls
11
assertAttachmentBudget
Function · 0.90
readAttachment
Function · 0.90
createPickedFileAuthorizations
Function · 0.90
test
Function · 0.85
join
Function · 0.85
add
Method · 0.65
read
Method · 0.65
describe
Function · 0.50
tmpdir
Function · 0.50
rm
Function · 0.50
truncate
Function · 0.50
Tested by
no test coverage detected