Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-task/task
/ functions
Functions
992 in github.com/go-task/task
⨍
Functions
992
◇
Types & classes
215
↓ 4 callers
Method
Location
()
taskfile/node_http.go:100
↓ 4 callers
Method
Location
()
taskfile/node_cache.go:93
↓ 4 callers
Method
Merge
Merge combines the current TaskRC with another TaskRC, prioritizing non-nil fields from the other TaskRC.
taskrc/ast/taskrc.go:39
↓ 4 callers
Function
NewBaseNode
(dir string, opts ...NodeOption)
taskfile/node_base.go:19
↓ 4 callers
Function
NewIncludes
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 callers
Function
ParsePattern
ParsePattern parses a gitignore pattern string into the Pattern structure.
internal/gitignore/pattern.go:51
↓ 4 callers
Method
Prompt
(color Color, prompt string, defaultValue string, continueValues ...string)
internal/logger/logger.go:189
↓ 4 callers
Method
Read
Read will read the Task config defined by the [Reader]'s [Node].
taskrc/reader.go:60
↓ 4 callers
Method
Read
()
taskfile/node.go:17
↓ 4 callers
Function
ReplaceVarsWithExtra
(vars *ast.Vars, cache *Cache, extra map[string]any)
internal/templater/templater.go:151
↓ 4 callers
Function
WithInput
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 callers
Function
checksum
(b []byte)
taskfile/node_cache.go:109
↓ 4 callers
Function
getEnumValues
(e *ast.Enum)
requires.go:213
↓ 4 callers
Function
isEnvVar
isEnvVar checks if a variable is from OS environment or auto-generated by Task.
internal/summary/summary.go:288
↓ 4 callers
Function
normalizeOutput
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 callers
Method
Active
()
experiments/experiment.go:42
↓ 3 callers
Method
All
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 callers
Method
Checksum
()
taskfile/node.go:21
↓ 3 callers
Method
CompiledTaskForTaskList
(call *Call)
variables.go:43
↓ 3 callers
Method
CreateCacheDir
()
taskfile/node_cache.go:69
↓ 3 callers
Function
DefaultDir
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 callers
Method
FastGetVariables
(t *ast.Task, call *Call)
compiler.go:44
↓ 3 callers
Function
GetFromVars
(env *ast.Vars)
internal/env/env.go:36
↓ 3 callers
Method
IsSet
IsSet returns true if and only if a custom output style is set.
taskfile/ast/output.go:18
↓ 3 callers
Method
Kind
()
internal/fingerprint/checker.go:19
↓ 3 callers
Function
MaskSecretsWithExtra
MaskSecretsWithExtra is like MaskSecrets but also resolves extra variables (e.g., loop vars).
internal/templater/secrets.go:15
↓ 3 callers
Method
Match
Match matches the given path to the pattern.
internal/gitignore/pattern.go:39
↓ 3 callers
Function
NewNode
( entrypoint string, dir string, possibleFileNames []string, )
taskrc/node.go:11
↓ 3 callers
Function
NewPrefixed
(logger *logger.Logger)
internal/output/prefixed.go:21
↓ 3 callers
Function
NewSnippet
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 callers
Function
ResolveRef
(ref string, cache *Cache)
internal/templater/templater.go:34
↓ 3 callers
Method
Set
(key string, value *MatrixRow)
taskfile/ast/matrix.go:53
↓ 3 callers
Method
Text
Text prompts the user for a text value
internal/input/input.go:32
↓ 3 callers
Function
UniqueJoin
(ss ...[]T)
internal/slicesext/slicesext.go:8
↓ 3 callers
Function
WithDry
(dry bool)
internal/fingerprint/task.go:28
↓ 3 callers
Function
WithLogger
(logger *logger.Logger)
internal/fingerprint/task.go:40
↓ 3 callers
Function
WithMethod
(method string)
internal/fingerprint/task.go:22
↓ 3 callers
Function
WithTempDir
(tempDir string)
internal/fingerprint/task.go:34
↓ 3 callers
Method
Write
(data []byte)
taskfile/node_cache.go:31
↓ 3 callers
Method
canPrompt
()
requires.go:14
↓ 3 callers
Function
emitCIErrorAnnotation
emitCIErrorAnnotation emits an error annotation for supported CI providers.
cmd/task/task.go:49
↓ 3 callers
Function
enableExperimentForTest
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 callers
Method
filePath
(suffix string)
taskfile/node_cache.go:105
↓ 3 callers
Function
getMissingRequiredVars
getMissingRequiredVars returns required vars that are not set in the task's vars.
requires.go:150
↓ 3 callers
Method
getVariables
(t *ast.Task, call *Call, evaluateShVars bool)
compiler.go:48
↓ 3 callers
Function
glob
(dir string, g string)
internal/fingerprint/glob.go:32
↓ 3 callers
Function
normalizeFilename
replaces invalid characters on filenames with "-"
internal/fingerprint/sources_checksum.go:125
↓ 3 callers
Method
releaseConcurrencyLimit
()
concurrency.go:14
↓ 3 callers
Function
writeFile
(t *testing.T, dir, name, content string)
task_test.go:656
↓ 2 callers
Function
AlphaNumeric
AlphaNumeric sorts the JSON output so that tasks are in alpha numeric order by task name.
internal/sort/sorter.go:19
↓ 2 callers
Method
ApplyToReader
(*Reader)
taskfile/reader.go:39
↓ 2 callers
Function
Get
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 callers
Function
GetEnviron
GetEnviron the all return all environment variables encapsulated on a ast.Vars
internal/env/env.go:18
↓ 2 callers
Function
GetVersion
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 callers
Method
HandleDynamicVar
(v ast.Var, dir string, e []string)
compiler.go:149
↓ 2 callers
Function
IsKnownArch
(str string)
internal/goext/meta.go:12
↓ 2 callers
Method
IsSilent
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 callers
Function
IsTerminal
()
internal/term/term.go:9
↓ 2 callers
Function
List
()
experiments/experiments.go:61
↓ 2 callers
Method
LocalName
()
taskfile/ast/task.go:66
↓ 2 callers
Function
NewChecksumChecker
(tempDir string, dry bool)
internal/fingerprint/sources_checksum.go:24
↓ 2 callers
Function
NewHTTPNode
( entrypoint string, dir string, insecure bool, opts ...NodeOption, )
taskfile/node_http.go:73
↓ 2 callers
Function
NewMatcher
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 callers
Function
NewMatrix
(els ...*MatrixElement)
taskfile/ast/matrix.go:29
↓ 2 callers
Function
NewNode
( entrypoint string, dir string, insecure bool, opts ...NodeOption, )
taskfile/node.go:48
↓ 2 callers
Function
NewSourcesChecker
(method, tempDir string, dry bool)
internal/fingerprint/sources.go:5
↓ 2 callers
Function
NewTimestampChecker
(tempDir string, dry bool)
internal/fingerprint/sources_timestamp.go:18
↓ 2 callers
Method
Options
Options loops through the given [ExecutorOption] functions and applies them to the [Executor].
executor.go:119
↓ 2 callers
Function
OrderedMap
(orig *orderedmap.OrderedMap[K, V])
internal/deepcopy/deepcopy.go:52
↓ 2 callers
Function
Owner
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 callers
Method
Parent
()
taskfile/node.go:18
↓ 2 callers
Function
Parse
Parse parses command line argument: tasks and global variables
args/args.go:27
↓ 2 callers
Function
ParseWithConfig
(dir string, config *ast.TaskRC)
experiments/experiments.go:39
↓ 2 callers
Function
PrintSpaceBetweenSummaries
(l *logger.Logger, i int)
internal/summary/summary.go:21
↓ 2 callers
Function
ReplaceGlobs
(globs []*ast.Glob, cache *Cache)
internal/templater/templater.go:114
↓ 2 callers
Function
ReplaceVarWithExtra
(v ast.Var, cache *Cache, extra map[string]any)
internal/templater/templater.go:133
↓ 2 callers
Function
ResolveDir
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 callers
Function
Search
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 callers
Function
SearchNPathRecursively
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 callers
Method
Set
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 callers
Function
ShouldIgnore
(path string)
watch.go:195
↓ 2 callers
Method
Status
Status returns an error if any the of given tasks is not up-to-date
status.go:12
↓ 2 callers
Method
TaskExitCode
()
errors/errors_task.go:49
↓ 2 callers
Function
TryAbsToRel
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 callers
Method
Unwrap
()
errors/error_taskfile_decode.go:105
↓ 2 callers
Method
Valid
()
experiments/experiment.go:46
↓ 2 callers
Method
Value
(t *ast.Task)
internal/fingerprint/checker.go:17
↓ 2 callers
Method
Verify
(checksum string)
taskfile/node.go:22
↓ 2 callers
Function
WithCACert
(caCert string)
taskfile/node_base.go:61
↓ 2 callers
Function
WithCert
(cert string)
taskfile/node_base.go:67
↓ 2 callers
Function
WithCertKey
(certKey string)
taskfile/node_base.go:73
↓ 2 callers
Function
WithSetupError
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 callers
Method
areTaskRequiredVarsSet
(t *ast.Task)
requires.go:163
↓ 2 callers
Method
buildURL
()
taskfile/node_git.go:105
↓ 2 callers
Function
checkOutputGroupUnset
(o *ast.Output)
internal/output/output.go:42
↓ 2 callers
Method
checksum
(t *ast.Task)
internal/fingerprint/sources_checksum.go:91
↓ 2 callers
Method
checksumFilePath
(t *ast.Task)
internal/fingerprint/sources_checksum.go:118
↓ 2 callers
Method
checksumPath
()
taskfile/node_cache.go:97
↓ 2 callers
Function
collectKeys
(m map[string]bool)
internal/fingerprint/glob.go:55
↓ 2 callers
Method
collectSources
(calls []*Call)
watch.go:204
← previous
next →
101–200 of 992, ranked by callers