MCPcopy
hub / github.com/21st-dev/1code / handleCopyRelativePath

Function handleCopyRelativePath

src/renderer/features/changes/changes-view.tsx:869–871  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

867 };
868
869 const handleCopyRelativePath = (filePath: string) => {
870 navigator.clipboard.writeText(filePath);
871 };
872
873 const handleRevealInFinder = (filePath: string) => {
874 const absolutePath = `${worktreePath}/${filePath}`;

Callers 1

ChangesViewFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected