()
| 16 | const isAbsolute = path.startsWith("/"); |
| 17 | |
| 18 | const handleCopy = async () => { |
| 19 | await navigator.clipboard.writeText(path); |
| 20 | setCopied(true); |
| 21 | setTimeout(() => setCopied(false), 1500); |
| 22 | }; |
| 23 | |
| 24 | const openInVSCode = () => { |
| 25 | window.open(`vscode://file${isAbsolute ? path : `/${path}`}`); |
nothing calls this directly
no outgoing calls
no test coverage detected