(path: string)
| 230 | }; |
| 231 | |
| 232 | const getLastNameFromPath = (path: string) => { |
| 233 | if (path === "/") return "/"; |
| 234 | const cleanPath = path.endsWith("/") ? path.slice(0, -1) : path; |
| 235 | const parts = cleanPath.split("/").filter((part) => part !== ""); |
| 236 | return parts.length > 0 ? parts[parts.length - 1] : "/"; |
| 237 | }; |
| 238 | |
| 239 | const clipboard = ref<{ |
| 240 | type: "copy" | "move"; |
no outgoing calls
no test coverage detected