MCPcopy Create free account

hub / github.com/go-task/task / functions

Functions992 in github.com/go-task/task

↓ 4 callersMethodLocation
()
taskfile/node_http.go:100
↓ 4 callersMethodLocation
()
taskfile/node_cache.go:93
↓ 4 callersMethodMerge
Merge combines the current TaskRC with another TaskRC, prioritizing non-nil fields from the other TaskRC.
taskrc/ast/taskrc.go:39
↓ 4 callersFunctionNewBaseNode
(dir string, opts ...NodeOption)
taskfile/node_base.go:19
↓ 4 callersFunctionNewIncludes
NewIncludes creates a new instance of Includes and initializes it with the provided set of elements, if any. The elements are added in the order they
taskfile/ast/include.go:43
↓ 4 callersFunctionParsePattern
ParsePattern parses a gitignore pattern string into the Pattern structure.
internal/gitignore/pattern.go:51
↓ 4 callersMethodPrompt
(color Color, prompt string, defaultValue string, continueValues ...string)
internal/logger/logger.go:189
↓ 4 callersMethodRead
Read will read the Task config defined by the [Reader]'s [Node].
taskrc/reader.go:60
↓ 4 callersMethodRead
()
taskfile/node.go:17
↓ 4 callersFunctionReplaceVarsWithExtra
(vars *ast.Vars, cache *Cache, extra map[string]any)
internal/templater/templater.go:151
↓ 4 callersFunctionWithInput
Functional options WithInput tells the test to create a reader with the given input. This can be used to simulate user input when a task requires it.
executor_test.go:79
↓ 4 callersFunctionchecksum
(b []byte)
taskfile/node_cache.go:109
↓ 4 callersFunctiongetEnumValues
(e *ast.Enum)
requires.go:213
↓ 4 callersFunctionisEnvVar
isEnvVar checks if a variable is from OS environment or auto-generated by Task.
internal/summary/summary.go:288
↓ 4 callersFunctionnormalizeOutput
normalizeOutput normalizes cross-platform differences for byte slice comparison: - Converts CRLF and CR to LF (line endings) - Converts backslashes to
task_test.go:316
↓ 3 callersMethodActive
()
experiments/experiment.go:42
↓ 3 callersMethodAll
All returns an iterator that loops over all task key-value pairs in the order specified by the sorter.
taskfile/ast/tasks.go:80
↓ 3 callersMethodChecksum
()
taskfile/node.go:21
↓ 3 callersMethodCompiledTaskForTaskList
(call *Call)
variables.go:43
↓ 3 callersMethodCreateCacheDir
()
taskfile/node_cache.go:69
↓ 3 callersFunctionDefaultDir
DefaultDir will return the default directory given an entrypoint or directory. If the directory is set, it will ensure it is an absolute path and retu
internal/fsext/fs.go:16
↓ 3 callersMethodFastGetVariables
(t *ast.Task, call *Call)
compiler.go:44
↓ 3 callersFunctionGetFromVars
(env *ast.Vars)
internal/env/env.go:36
↓ 3 callersMethodIsSet
IsSet returns true if and only if a custom output style is set.
taskfile/ast/output.go:18
↓ 3 callersMethodKind
()
internal/fingerprint/checker.go:19
↓ 3 callersFunctionMaskSecretsWithExtra
MaskSecretsWithExtra is like MaskSecrets but also resolves extra variables (e.g., loop vars).
internal/templater/secrets.go:15
↓ 3 callersMethodMatch
Match matches the given path to the pattern.
internal/gitignore/pattern.go:39
↓ 3 callersFunctionNewNode
( entrypoint string, dir string, possibleFileNames []string, )
taskrc/node.go:11
↓ 3 callersFunctionNewPrefixed
(logger *logger.Logger)
internal/output/prefixed.go:21
↓ 3 callersFunctionNewSnippet
NewSnippet creates a new [Snippet] from a byte slice and a line and column number. The line and column numbers should be 1-indexed. For example, the f
taskfile/snippet.go:58
↓ 3 callersFunctionResolveRef
(ref string, cache *Cache)
internal/templater/templater.go:34
↓ 3 callersMethodSet
(key string, value *MatrixRow)
taskfile/ast/matrix.go:53
↓ 3 callersMethodText
Text prompts the user for a text value
internal/input/input.go:32
↓ 3 callersFunctionUniqueJoin
(ss ...[]T)
internal/slicesext/slicesext.go:8
↓ 3 callersFunctionWithDry
(dry bool)
internal/fingerprint/task.go:28
↓ 3 callersFunctionWithLogger
(logger *logger.Logger)
internal/fingerprint/task.go:40
↓ 3 callersFunctionWithMethod
(method string)
internal/fingerprint/task.go:22
↓ 3 callersFunctionWithTempDir
(tempDir string)
internal/fingerprint/task.go:34
↓ 3 callersMethodWrite
(data []byte)
taskfile/node_cache.go:31
↓ 3 callersMethodcanPrompt
()
requires.go:14
↓ 3 callersFunctionemitCIErrorAnnotation
emitCIErrorAnnotation emits an error annotation for supported CI providers.
cmd/task/task.go:49
↓ 3 callersFunctionenableExperimentForTest
enableExperimentForTest enables the experiment behind pointer e for the duration of test t and sub-tests, with the experiment being restored to its pr
task_test.go:3041
↓ 3 callersMethodfilePath
(suffix string)
taskfile/node_cache.go:105
↓ 3 callersFunctiongetMissingRequiredVars
getMissingRequiredVars returns required vars that are not set in the task's vars.
requires.go:150
↓ 3 callersMethodgetVariables
(t *ast.Task, call *Call, evaluateShVars bool)
compiler.go:48
↓ 3 callersFunctionglob
(dir string, g string)
internal/fingerprint/glob.go:32
↓ 3 callersFunctionnormalizeFilename
replaces invalid characters on filenames with "-"
internal/fingerprint/sources_checksum.go:125
↓ 3 callersMethodreleaseConcurrencyLimit
()
concurrency.go:14
↓ 3 callersFunctionwriteFile
(t *testing.T, dir, name, content string)
task_test.go:656
↓ 2 callersFunctionAlphaNumeric
AlphaNumeric sorts the JSON output so that tasks are in alpha numeric order by task name.
internal/sort/sorter.go:19
↓ 2 callersMethodApplyToReader
(*Reader)
taskfile/reader.go:39
↓ 2 callersFunctionGet
Get fetches the remaining arguments after CLI parsing and splits them into two groups: the arguments before the double dash (--) and the arguments aft
args/args.go:16
↓ 2 callersFunctionGetEnviron
GetEnviron the all return all environment variables encapsulated on a ast.Vars
internal/env/env.go:18
↓ 2 callersFunctionGetVersion
GetVersion returns the version of Task. By default, this is retrieved from the embedded version.txt file which is kept up-to-date by our release scrip
internal/version/version.go:48
↓ 2 callersMethodHandleDynamicVar
(v ast.Var, dir string, e []string)
compiler.go:149
↓ 2 callersFunctionIsKnownArch
(str string)
internal/goext/meta.go:12
↓ 2 callersMethodIsSilent
IsSilent returns true if the task has silent mode explicitly enabled. Returns false if Silent is nil (not set) or explicitly set to false.
taskfile/ast/task.go:75
↓ 2 callersFunctionIsTerminal
()
internal/term/term.go:9
↓ 2 callersFunctionList
()
experiments/experiments.go:61
↓ 2 callersMethodLocalName
()
taskfile/ast/task.go:66
↓ 2 callersFunctionNewChecksumChecker
(tempDir string, dry bool)
internal/fingerprint/sources_checksum.go:24
↓ 2 callersFunctionNewHTTPNode
( entrypoint string, dir string, insecure bool, opts ...NodeOption, )
taskfile/node_http.go:73
↓ 2 callersFunctionNewMatcher
NewMatcher constructs a new global matcher. Patterns must be given in the order of increasing priority. That is most generic settings files first, the
internal/gitignore/matcher.go:18
↓ 2 callersFunctionNewMatrix
(els ...*MatrixElement)
taskfile/ast/matrix.go:29
↓ 2 callersFunctionNewNode
( entrypoint string, dir string, insecure bool, opts ...NodeOption, )
taskfile/node.go:48
↓ 2 callersFunctionNewSourcesChecker
(method, tempDir string, dry bool)
internal/fingerprint/sources.go:5
↓ 2 callersFunctionNewTimestampChecker
(tempDir string, dry bool)
internal/fingerprint/sources_timestamp.go:18
↓ 2 callersMethodOptions
Options loops through the given [ExecutorOption] functions and applies them to the [Executor].
executor.go:119
↓ 2 callersFunctionOrderedMap
(orig *orderedmap.OrderedMap[K, V])
internal/deepcopy/deepcopy.go:52
↓ 2 callersFunctionOwner
NOTE: This always returns -1 since there is currently no easy way to get file owner information on Windows.
internal/sysinfo/uid_win.go:7
↓ 2 callersMethodParent
()
taskfile/node.go:18
↓ 2 callersFunctionParse
Parse parses command line argument: tasks and global variables
args/args.go:27
↓ 2 callersFunctionParseWithConfig
(dir string, config *ast.TaskRC)
experiments/experiments.go:39
↓ 2 callersFunctionPrintSpaceBetweenSummaries
(l *logger.Logger, i int)
internal/summary/summary.go:21
↓ 2 callersFunctionReplaceGlobs
(globs []*ast.Glob, cache *Cache)
internal/templater/templater.go:114
↓ 2 callersFunctionReplaceVarWithExtra
(v ast.Var, cache *Cache, extra map[string]any)
internal/templater/templater.go:133
↓ 2 callersFunctionResolveDir
ResolveDir returns an absolute path to the directory that the task should be run in. If the entrypoint and dir are BOTH set, then the Taskfile will no
internal/fsext/fs.go:45
↓ 2 callersFunctionSearch
Search looks for files with the given possible filenames using the given entrypoint and directory. If the entrypoint is set, it checks if the entrypoi
internal/fsext/fs.go:62
↓ 2 callersFunctionSearchNPathRecursively
SearchNPathRecursively walks up the directory tree starting at the given path, calling the Search function in each directory and adding each matching
internal/fsext/fs.go:173
↓ 2 callersMethodSet
Set sets the value of the include with the provided key to the provided value. If the include already exists, its value is updated. If the include doe
taskfile/ast/include.go:78
↓ 2 callersFunctionShouldIgnore
(path string)
watch.go:195
↓ 2 callersMethodStatus
Status returns an error if any the of given tasks is not up-to-date
status.go:12
↓ 2 callersMethodTaskExitCode
()
errors/errors_task.go:49
↓ 2 callersFunctionTryAbsToRel
TryAbsToRel tries to convert an absolute path to relative based on the process working directory. If it can't, it returns the absolute path.
internal/filepathext/filepathext.go:45
↓ 2 callersMethodUnwrap
()
errors/error_taskfile_decode.go:105
↓ 2 callersMethodValid
()
experiments/experiment.go:46
↓ 2 callersMethodValue
(t *ast.Task)
internal/fingerprint/checker.go:17
↓ 2 callersMethodVerify
(checksum string)
taskfile/node.go:22
↓ 2 callersFunctionWithCACert
(caCert string)
taskfile/node_base.go:61
↓ 2 callersFunctionWithCert
(cert string)
taskfile/node_base.go:67
↓ 2 callersFunctionWithCertKey
(certKey string)
taskfile/node_base.go:73
↓ 2 callersFunctionWithSetupError
WithSetupError sets the test to expect an error during the setup phase of the task execution. A fixture will be created with the output of any errors.
task_test.go:242
↓ 2 callersMethodareTaskRequiredVarsSet
(t *ast.Task)
requires.go:163
↓ 2 callersMethodbuildURL
()
taskfile/node_git.go:105
↓ 2 callersFunctioncheckOutputGroupUnset
(o *ast.Output)
internal/output/output.go:42
↓ 2 callersMethodchecksum
(t *ast.Task)
internal/fingerprint/sources_checksum.go:91
↓ 2 callersMethodchecksumFilePath
(t *ast.Task)
internal/fingerprint/sources_checksum.go:118
↓ 2 callersMethodchecksumPath
()
taskfile/node_cache.go:97
↓ 2 callersFunctioncollectKeys
(m map[string]bool)
internal/fingerprint/glob.go:55
↓ 2 callersMethodcollectSources
(calls []*Call)
watch.go:204
← previousnext →101–200 of 992, ranked by callers