Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vercel/next.js
/ prepend
Method
prepend
test/lib/next-test-utils.ts:833–836 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
831
}
832
833
prepend(str: string) {
834
const
content = readFileSync(this.path,
'utf8'
)
835
this.write(str + content)
836
}
837
838
delete() {
839
unlinkSync(this.path)
Callers
nothing calls this directly
Calls
2
write
Method · 0.95
readFileSync
Function · 0.85
Tested by
no test coverage detected