Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/block/buzz
/ basename
Function
basename
desktop/src/features/agents/ui/agentSessionFileEditDiff.ts:200–203 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
198
}
199
200
function
basename(path: string) {
201
const
parts = path.replace(/\\/g,
"/"
).split(
"/"
);
202
return
parts[parts.length - 1] || path;
203
}
Callers
2
buildFileEditDiff
Function · 0.70
generate-sound-waveforms.mjs
File · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected