MCPcopy Index your code

hub / github.com/steveukx/git-js / functions

Functions659 in github.com/steveukx/git-js

↓ 7 callersFunctionpluginContext
(task: SimpleGitTask<R>, commands: string[])
simple-git/src/lib/runners/git-executor-chain.ts:264
↓ 7 callersFunctiontoPaths
(value: string)
packages/args-pathspec/src/pathspec.ts:20
↓ 6 callersFunctionaVulnerability
(category: VulnerabilityCategory)
packages/argv-parser/test/__fixtures__/mocks.ts:22
↓ 6 callersFunctionassertExecutedTasksCount
(count: number)
simple-git/test/unit/__fixtures__/expectations.ts:10
↓ 6 callersFunctioncallbackArray
(callbacks: jest.Mock[] = [])
simple-git/test/unit/promises.spec.ts:82
↓ 6 callersFunctionconfigOperation
(isWrite = false, positionals: string[] = [])
packages/argv-parser/src/config/detect-config-action.ts:42
↓ 6 callersFunctioncreateAbortController
()
packages/test-utils/src/create-abort-controller.ts:3
↓ 6 callersFunctionfile
(path, content = `File content ${path}`)
packages/test-utils/src/create-test-context.ts:69
↓ 6 callersMethodgetConfig
* Gets the current value of a configuration property by it key, optionally specify the scope in which * to run the command (omit / set to `undefin
simple-git/typings/simple-git.d.ts:584
↓ 6 callersFunctiongetRemotesTask
( verbose: boolean )
simple-git/src/lib/tasks/remote.ts:20
↓ 6 callersMethodisClean
* Gets whether this represents a clean working branch.
simple-git/typings/response.d.ts:379
↓ 6 callersFunctionlogFormatFromCommand
(customArgs: string[])
simple-git/src/lib/args/log-format.ts:11
↓ 6 callersMethodmergeFromTo
* Merges from one branch to another, equivalent to running `git merge ${remote} ${branch}`, the `options` argument can * either be an array of add
simple-git/typings/simple-git.d.ts:87
↓ 6 callersFunctionmockSuccessCallback
(expected: Partial<InitResult>, commands: string[])
simple-git/test/unit/init.spec.ts:159
↓ 6 callersFunctionparseEnv
(raw: Record<string, unknown>)
packages/argv-parser/src/env/parse-env.ts:69
↓ 6 callersFunctionparsePullResult
(stdOut, stdErr)
simple-git/src/lib/parsers/parse-pull.ts:56
↓ 6 callersFunctionparseRemoteMessages
( _stdOut: string, stdErr: string )
simple-git/src/lib/parsers/parse-remote-messages.ts:30
↓ 6 callersMethodtags
* Gets a list of tagged versions.
simple-git/typings/simple-git.d.ts:1015
↓ 6 callersFunctiontheChildProcessMatching
(what: string[] | ((mock: MockChildProcess) => boolean))
simple-git/test/unit/__fixtures__/child-processes.ts:67
↓ 6 callersMethodversion
* Retrieves `git` version information, including whether `git` is installed on the `PATH`
simple-git/typings/simple-git.d.ts:1030
↓ 6 callersFunctionwriteToStdErr
(data = '')
simple-git/test/unit/__fixtures__/child-processes.ts:7
↓ 5 callersMethod$emitted
(event: string)
simple-git/test/unit/__mocks__/mock-child-process.ts:26
↓ 5 callersFunction$logNames
(...matching: RegExp[])
simple-git/test/unit/__fixtures__/debug.ts:44
↓ 5 callersMethodaddRemote
* Adds a remote to the list of remotes. * * - `remoteName` Name of the repository - eg "upstream" * - `remoteRepo` Fully qualified SSH or
simple-git/typings/simple-git.d.ts:223
↓ 5 callersFunctionasStringArray
(source: T | T[])
simple-git/src/lib/utils/util.ts:134
↓ 5 callersFunctionassertBranchDeletion
( options: string[], branchSummary: BranchSummary | BranchSingleDeleteResult, hash:
simple-git/test/unit/branch.spec.ts:58
↓ 5 callersFunctionbranchDeleteLog
(branchName: string, hash = 'b190102')
simple-git/test/unit/branch.spec.ts:19
↓ 5 callersFunctionconfigurationLinesMatching
(test: string)
simple-git/test/integration/config.spec.ts:20
↓ 5 callersFunctioncreateInstanceConfig
( ...options: Array<Partial<SimpleGitOptions> | undefined> )
simple-git/src/lib/utils/simple-git-options.ts:10
↓ 5 callersFunctiondeleteLocalSuccess
()
simple-git/test/unit/branch.spec.ts:366
↓ 5 callersMethoddiff
* Get the diff of the current repo compared to the last commit with a set of options supplied as a string.
simple-git/typings/simple-git.d.ts:500
↓ 5 callersFunctiongivenTheResponse
(stdOut: string, stdErr = '')
simple-git/test/unit/merge.spec.ts:185
↓ 5 callersMethodmerge
* Runs a merge, `options` can be either an array of arguments * supported by the [`git merge`](https://git-scm.com/docs/git-merge) * or an opt
simple-git/typings/simple-git.d.ts:78
↓ 5 callersFunctionparser
()
simple-git/src/git.js:555
↓ 5 callersFunctionpreventFlagBuilder
( task: string | null, flag: string | RegExp, category: VulnerabilityCategory, name = String(flag)
packages/argv-parser/src/vulnerabilities/detect-vulnerable-flags.ts:18
↓ 5 callersFunctionremove
(target: Set<T> | T[], item: T)
simple-git/src/lib/utils/util.ts:108
↓ 5 callersFunctionshowPrefix
(git: SimpleGit)
simple-git/test/integration/change-directory.spec.ts:84
↓ 5 callersMethodstash
* Stash the local repo
simple-git/typings/simple-git.d.ts:137
↓ 4 callersFunctionbufferToString
(input: Buffer | Buffer[])
simple-git/src/lib/utils/util.ts:157
↓ 4 callersFunctionchange
(count: number, sign: '-' | '+')
simple-git/test/unit/__fixtures__/responses/diff.ts:5
↓ 4 callersMethodcheckoutLocalBranch
* Checkout a local branch - equivalent to `git checkout -b ${branchName}`
simple-git/typings/simple-git.d.ts:352
↓ 4 callersFunctionconfigListParser
(text: string)
simple-git/src/lib/responses/ConfigList.ts:46
↓ 4 callersMethodcountObjects
* Retrieves `git` disk usage information, see https://git-scm.com/docs/git-count-objects
simple-git/typings/simple-git.d.ts:455
↓ 4 callersFunctiondiffSummarySingleFile
( insertions: SmallNumber = 1, deletions: SmallNumber = 2, fileName = 'package.json' )
simple-git/test/unit/__fixtures__/responses/diff.ts:26
↓ 4 callersMethodenv
* Sets an environment variable for the spawned child process, either supply both a name and value as strings or * a single object to entirely repl
simple-git/typings/simple-git.d.ts:535
↓ 4 callersFunctionfilterArray
( input )
simple-git/src/lib/utils/argument-filters.ts:19
↓ 4 callersFunctionfilterFunction
(input: unknown)
simple-git/src/lib/utils/argument-filters.ts:58
↓ 4 callersFunctionfilterPlainObject
( input: T | unknown )
simple-git/src/lib/utils/argument-filters.ts:52
↓ 4 callersFunctionfirst
(input: unknown[] | IArguments, offset = 0)
simple-git/src/lib/utils/util.ts:41
↓ 4 callersFunctiongivenTheResponse
({ stdErr, stdOut }: { stdErr: string; stdOut: string })
simple-git/test/unit/push.spec.ts:196
↓ 4 callersFunctionorVoid
(input: T | false)
simple-git/src/lib/utils/util.ts:180
↓ 4 callersFunctionout
(file: DiffResultTextFile, changed = 0, insertions = 0, deletions = 0)
simple-git/test/integration/log.spec.ts:71
↓ 4 callersFunctionprefixedArray
(input: T[], prefix: T)
simple-git/src/lib/utils/util.ts:149
↓ 4 callersFunctionprefixedLogger
( to: Debugger, prefix: string, forward?: OutputLoggingHandler )
simple-git/src/lib/git-logger.ts:35
↓ 4 callersFunctionprocess
(proc: MockChildProcess, data: string, close = false, exit = false)
simple-git/test/unit/plugins/plugin.completion-detection.spec.ts:5
↓ 4 callersFunctionrenaming
(from: string, to: string)
simple-git/test/unit/mv.spec.ts:5
↓ 4 callersFunctionrunUsingAwait
(cmd: string)
simple-git/test/integration/promise.spec.ts:30
↓ 4 callersFunctionrunUsingThen
(cmd: string)
simple-git/test/integration/promise.spec.ts:23
↓ 4 callersMethodshow
* Show various types of objects, for example the file at a certain commit
simple-git/typings/simple-git.d.ts:908
↓ 4 callersMethodstep
(nextStep?: string)
simple-git/src/lib/git-logger.ts:31
↓ 4 callersFunctionsubModuleTask
(customArgs: string[])
simple-git/src/lib/tasks/sub-module.ts:12
↓ 4 callersFunctiontest
(target: T[] | Set<T>, itemA: T, itemB: T)
simple-git/test/unit/utils.spec.ts:103
↓ 4 callersFunctiontoNumber
(input: string | undefined)
simple-git/src/lib/responses/TagList.ts:58
↓ 4 callersFunctionversionResponse
( major = 0, minor = 0, patch: string | number = 0, agent = '', installed = true )
simple-git/src/lib/tasks/version.ts:15
↓ 4 callersFunctionvulnerabilityCheck
(tokens: readonly string[], env: Record<string, unknown>)
packages/argv-parser/src/vulnerabilities/vulnerability-check.ts:8
↓ 3 callersFunction$logMessagesFor
(name: string)
simple-git/test/unit/__fixtures__/debug.ts:52
↓ 3 callersFunctionaPushedBranch
( local: string, remote: string, state = states.newBranch, branch = true
simple-git/test/unit/push.spec.ts:98
↓ 3 callersFunctionadhocExecTask
(parser: EmptyTaskParser)
simple-git/src/lib/tasks/task.ts:13
↓ 3 callersFunctionasConfigScope
( scope: GitConfigScope | unknown, fallback: T )
simple-git/src/lib/tasks/config.ts:14
↓ 3 callersFunctionassertAllExecutedCommands
(...commands: string[][])
simple-git/test/unit/__fixtures__/expectations.ts:18
↓ 3 callersFunctionassertCheckIsRepoRoot
(response: string, expected: boolean)
simple-git/test/unit/check-is-repo.spec.ts:131
↓ 3 callersFunctionassertChildProcessEnvironmentVariables
(env: any)
simple-git/test/unit/__fixtures__/expectations.ts:34
↓ 3 callersFunctionassertSuccess
(summary: StatusResult | unknown, commands: string[])
simple-git/test/unit/status.spec.ts:459
↓ 3 callersMethodbranchLocal
* List of local branches
simple-git/typings/simple-git.d.ts:260
↓ 3 callersFunctionbranchSummaryLine
(commit: string, hash = '', current = false)
simple-git/test/unit/__fixtures__/responses/branch.ts:5
↓ 3 callersFunctioncallback
(err: Error | null, result?: any)
simple-git/src/lib/runners/promise-wrapped.ts:123
↓ 3 callersMethodcatFile
* Returns a list of objects in a tree based on commit hash. * Passing in an object hash returns the object's content, size, and type. * *
simple-git/typings/simple-git.d.ts:272
↓ 3 callersMethodcheckoutBranch
* Checkout a remote branch - equivalent to `git checkout -b ${branchName} ${startPoint}` * * - branchName name of branch. * - startPoint (
simple-git/typings/simple-git.d.ts:327
↓ 3 callersFunctioncheckoutTask
(args: string[])
simple-git/src/lib/tasks/checkout.ts:6
↓ 3 callersFunctionconflicts
(indexX: PorcelainFileStatus, ...indexY: PorcelainFileStatus[])
simple-git/src/lib/responses/StatusSummary.ts:57
↓ 3 callersFunctioncreateLogger
( label: string, verbose?: string | Debugger, initialStep?: string, infoDebugger = createLog() )
simple-git/src/lib/git-logger.ts:74
↓ 3 callersFunctioncurrentlyRunning
()
simple-git/test/integration/output-handler.spec.ts:14
↓ 3 callersMethoddeleteLocalBranches
* Delete one or more local branches. Supply the branchName as a string to return a * single `BranchDeletionSummary` or as an array of branch names
simple-git/typings/simple-git.d.ts:491
↓ 3 callersFunctionexitChildProcess
(proc: MockChildProcess, data: string | null, exitSignal: number)
simple-git/test/unit/__fixtures__/child-processes.ts:84
↓ 3 callersFunctionexpectedBranchSummary
(commit = '', label = '')
simple-git/test/integration/branches-show-current.spec.ts:6
↓ 3 callersFunctionforEachLineWithContent
( input: string, callback: LineWithContentCallback<T> )
simple-git/src/lib/utils/util.ts:72
↓ 3 callersFunctionincluding
(target: T[], item: T)
simple-git/src/lib/utils/util.ts:100
↓ 3 callersMethodkill
(reason)
simple-git/src/lib/runners/git-executor-chain.ts:205
↓ 3 callersFunctionlistConfigFile
(...lines: string[])
simple-git/test/unit/config.spec.ts:51
↓ 3 callersMethodmv
* Moves one or more files to a new destination. * * @see https://git-scm.com/docs/git-mv
simple-git/typings/simple-git.d.ts:677
↓ 3 callersFunctionobjectEnumerationResult
( remoteMessages: T )
simple-git/src/lib/parsers/parse-remote-objects.ts:8
↓ 3 callersMethodoutputHandler
* Sets a handler function to be called whenever a new child process is created, the handler function will be called * with the name of the command
simple-git/typings/simple-git.d.ts:114
↓ 3 callersFunctionparseBranchDeletions
( stdOut, stdErr )
simple-git/src/lib/parsers/parse-branch-delete.ts:29
↓ 3 callersFunctionparseTagList
(data: string, customSort = false)
simple-git/src/lib/responses/TagList.ts:10
↓ 3 callersMethodpushTags
* Pushes the current tag changes to a remote which can be either a URL or named remote. When not specified uses the * default configured remote sp
simple-git/typings/simple-git.d.ts:705
↓ 3 callersMethodrebase
* Rebases the current working copy. Options can be supplied either as an array of string parameters * to be sent to the `git rebase` command, or a
simple-git/typings/simple-git.d.ts:807
↓ 3 callersMethodrevert
* Revert one or more commits in the local working copy * * - commit The commit to revert. Can be any hash, offset (eg: `HEAD~2`) or range (eg:
simple-git/typings/simple-git.d.ts:864
↓ 3 callersMethodstashList
* List the stash(s) of the local repo
simple-git/typings/simple-git.d.ts:935
↓ 3 callersMethodsubmoduleInit
* Initialise submodules
simple-git/typings/simple-git.d.ts:962
↓ 3 callersMethodsubmoduleUpdate
* Update submodules
simple-git/typings/simple-git.d.ts:983
← previousnext →101–200 of 659, ranked by callers