MCPcopy
hub / github.com/Kong/insomnia / rm

Function rm

packages/insomnia/bin/yarn-standalone.js:46463–46465  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

46461// Try to unlink, but ignore errors.
46462// Any problems will surface later.
46463function rm (path) {
46464 return fs.unlink(path).catch(() => {})
46465}
46466
46467function cmdShim (src, to, opts) {
46468 opts = Object.assign({}, DEFAULT_OPTIONS, opts)

Callers 2

installPluginFunction · 0.85
cmdShim_Function · 0.85

Calls 4

_load_asyncToGeneratorFunction · 0.85
removeFunction · 0.70
unlinkMethod · 0.45
warnMethod · 0.45

Tested by

no test coverage detected