MCPcopy
hub / github.com/marktext/marktext / dirname

Method dirname

packages/desktop/src/types/global.d.ts:123–123  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

121 interface PathAPI {
122 basename(path: string, ext?: string): string
123 dirname(path: string): string
124 extname(path: string): string
125 join(...paths: string[]): string
126 resolve(...paths: string[]): string

Callers 15

roundTrip.spec.tsFile · 0.80
RESTORE_BUFFERED_STATEFunction · 0.80
LISTEN_FOR_SET_PATHNAMEFunction · 0.80
RENAMEFunction · 0.80
RENAME_IF_NEEDEDFunction · 0.80
UPDATE_CURRENT_FILEFunction · 0.80
FORCE_CLOSE_TABFunction · 0.80
CLOSE_TABSFunction · 0.80
addFileFunction · 0.80
updateFileMtimeFunction · 0.80
unlinkFileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected