MCPcopy
hub / github.com/marktext/marktext / format

Method format

packages/desktop/src/types/global.d.ts:131–131  ·  view source on GitHub ↗
(pathObject: {
      root?: string
      dir?: string
      base?: string
      ext?: string
      name?: string
    })

Source from the content-addressed store, hash-verified

129 normalize(path: string): string
130 parse(path: string): { root: string; dir: string; base: string; ext: string; name: string }
131 format(pathObject: {
132 root?: string
133 dir?: string
134 base?: string

Callers 8

_handleFormatShortcutMethod · 0.65
_selectItemMethod · 0.65
moveImageToFolderFunction · 0.65
index.tsFile · 0.65
getScreenshotFileNameMethod · 0.65
formatMethod · 0.65
snap.svg-min.jsFile · 0.65
selectItemMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected