MCPcopy Create free account

hub / github.com/usmanyunusov/nano-staged / functions

Functions92 in github.com/usmanyunusov/nano-staged

↓ 167 callersFunctionmatch
(glob, path, opts = {})
test/glob-to-regex.test.js:6
↓ 22 callersFunctiongetForceColorLevel
()
lib/utils.js:46
↓ 20 callersFunctioncreateGit
(cwd = process.cwd())
lib/git.js:54
↓ 14 callersFunctioncreateGitWorkflow
({ allowEmpty = false, dotPath = '', rootPath = '' } = {})
lib/git-workflow.js:6
↓ 14 callersFunctionfixture
(name)
test/utils/index.js:25
↓ 13 callersFunctionappendFile
(filename, content, dir = cwd)
bench/running-time/index.js:20
↓ 12 callersFunctiongetConfig
(cwd = process.cwd(), config = undefined)
lib/config.js:34
↓ 12 callersFunctiontester
(globstar)
test/glob-to-regex.test.js:45
↓ 11 callersFunctionvalidConfig
(config)
lib/config.js:55
↓ 10 callersFunctioncreateRunner
({ allowEmpty, git_paths, config, stream, files, type, cwd })
lib/runner.js:7
↓ 9 callersFunctionexecGit
(args)
test/git.test.js:12
↓ 9 callersFunctionwriteFile
(filename, content, dir = process.cwd())
test/utils/index.js:15
↓ 7 callersFunctionappendFile
(filename, content, dir = process.cwd())
test/utils/index.js:7
↓ 7 callersFunctioncreateStdout
()
test/utils/index.js:29
↓ 7 callersFunctionexecGit
(args)
test/git-workflow.test.js:13
↓ 6 callersFunctionexecGit
(args)
bench/running-time/index.js:24
↓ 6 callersFunctiontoArray
(val)
lib/utils.js:11
↓ 4 callersFunctioncreateCmdRunner
({ cwd = process.cwd(), type = 'staged', rootPath = '', config = {}, files = [], } = {})
lib/cmd-runner.js:10
↓ 4 callersFunctionprint
(lines)
lib/reporter.js:6
↓ 4 callersFunctionstringArgvToArray
(str = '')
lib/utils.js:21
↓ 3 callersFunctioncreateRenderer
(stream, { isTTY = true } = {})
lib/renderer.js:95
↓ 3 callersFunctioncreateReporter
(stream = process.stderr)
lib/reporter.js:5
↓ 3 callersFunctiongroup
(entries = [])
lib/git.js:30
↓ 3 callersFunctionremoveFile
(dir)
test/utils/index.js:19
↓ 2 callersFunctionbenchmark
(lib)
bench/size/index.js:20
↓ 2 callersFunctionendsWith
(str, end)
lib/executor.js:44
↓ 2 callersFunctionexecutor
(cmd, args = [], opts = {})
lib/executor.js:270
↓ 2 callersFunctiongetStateSymbol
(task)
lib/renderer.js:23
↓ 2 callersFunctionglobToRegex
(glob, opts = {})
lib/glob-to-regex.js:25
↓ 2 callersFunctionisCmdFile
(cmd)
lib/executor.js:48
↓ 2 callersFunctionisRooted
(p)
lib/executor.js:110
↓ 2 callersFunctionisUnixExecutable
(stats)
lib/executor.js:192
↓ 2 callersFunctionmakeDir
(dir = process.cwd())
test/utils/index.js:11
↓ 2 callersFunctionreadConfig
(path)
lib/config.js:18
↓ 2 callersFunctionrenderCI
(tasks)
lib/renderer.js:75
↓ 2 callersFunctionrenderTree
(tasks, level = 0)
lib/renderer.js:56
↓ 2 callersFunctiontryGetExecutablePath
(filePath, extensions)
lib/executor.js:120
↓ 1 callersFunctionescapeArgument
(arg, doubleEscapeMetaChars = false)
lib/executor.js:16
↓ 1 callersFunctionescapeCommand
(arg)
lib/executor.js:12
↓ 1 callersFunctionfindInPath
(tool)
lib/executor.js:200
↓ 1 callersFunctiongetJSON
(url)
bench/size/index.js:6
↓ 1 callersFunctiongetLines
(str = '', width = 80)
lib/renderer.js:16
↓ 1 callersFunctiongetPathKey
(env = process.env)
lib/executor.js:94
↓ 1 callersFunctiongetPrefix
(root)
lib/executor.js:63
↓ 1 callersFunctiongetPrefixFromTree
(current)
lib/executor.js:77
↓ 1 callersFunctiongetSpawnArgs
(cmd, args)
lib/executor.js:27
↓ 1 callersFunctiongetSpawnFileName
(cmd)
lib/executor.js:53
↓ 1 callersFunctiongetSpinner
()
lib/renderer.js:7
↓ 1 callersFunctiongetTitles
(task)
lib/renderer.js:44
↓ 1 callersFunctionhasFlags
(...flags)
lib/utils.js:40
↓ 1 callersFunctioninitGitRepo
()
bench/running-time/index.js:29
↓ 1 callersFunctioninitProject
()
bench/running-time/index.js:39
↓ 1 callersFunctionmakeDir
(dir = cwd)
bench/running-time/index.js:16
↓ 1 callersFunctionnormalizeSeparators
(p = '')
lib/executor.js:188
↓ 1 callersFunctionrun
()
lib/bin.js:14
↓ 1 callersFunctionrun
()
bench/running-time/index.js:82
↓ 1 callersFunctionshowTime
(name)
bench/running-time/index.js:72
↓ 1 callersFunctionshowVersion
(print)
lib/utils.js:15
↓ 1 callersFunctionstart
()
bench/size/index.js:36
↓ 1 callersFunctionwhich
(tool, check)
lib/executor.js:246
Functionadd
(paths, opts = {})
lib/git.js:142
Functionapply
(patch, allowConflicts = false, opts = {})
lib/git.js:97
FunctionapplyModifications
(files = [])
lib/git-workflow.js:48
FunctionbackupOriginalState
()
lib/git-workflow.js:29
FunctionbackupUnstagedFiles
(files = [])
lib/git-workflow.js:37
FunctionchangedFiles
(refs = [], opts = {})
lib/git.js:217
Functioncheckout
(paths, opts = {})
lib/git.js:151
FunctioncleanUp
()
lib/git-workflow.js:88
Functionclear
()
lib/renderer.js:101
Methodconstructor
(type, ...args)
lib/errors.js:11
Methodconstructor
(errors)
lib/errors.js:19
Functiondiff
(fileName, files = [], opts = {})
lib/git.js:69
FunctiondiffFileName
(ref1, ref2, opts = {})
lib/git.js:80
Functionerror
(err)
lib/reporter.js:11
Functionexec
(args = [], opts = {})
lib/git.js:58
FunctiongenerateCmdTasks
()
lib/cmd-runner.js:18
FunctiongetGitPaths
(opts = {})
lib/git.js:111
FunctionhasPatch
(path = '')
lib/git-workflow.js:14
Functionloop
()
lib/renderer.js:136
Functionrender
()
lib/renderer.js:118
FunctionrestoreOriginalState
()
lib/git-workflow.js:76
FunctionrestoreUnstagedFiles
(files = [])
lib/git-workflow.js:62
Functionrun
()
lib/runner.js:12
Functionrun
(parentTask)
lib/cmd-runner.js:68
FunctionrunTask
(parentTask)
lib/cmd-runner.js:99
Functionspin
(task)
lib/renderer.js:131
FunctionstagedFiles
(opts = {})
lib/git.js:226
Functionstart
(task)
lib/renderer.js:141
Functionstatus
(opts = {})
lib/git.js:160
Functionstop
()
lib/renderer.js:150
FunctionunstagedFiles
(opts = {})
lib/git.js:249
Functionwrite
(str, clear = false)
lib/renderer.js:110