Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benchkram/bob
/ functions
Functions
994 in github.com/benchkram/bob
⨍
Functions
994
◇
Types & classes
180
↓ 5 callers
Function
NewBobfile
()
bob/bobfile/bobfile.go:89
↓ 5 callers
Method
Playbook
(taskName string, opts ...playbook.Option)
bob/bobfile/playbook.go:8
↓ 5 callers
Method
SetEnv
(env []string)
bobrun/run.go:64
↓ 5 callers
Method
Stderr
()
pkg/ctl/command.go:17
↓ 5 callers
Method
Sum
()
pkg/filehash/filehash.go:42
↓ 5 callers
Method
TaskStatus
TaskStatus returns the current state of a task
bob/playbook/playbook.go:142
↓ 5 callers
Method
Unwrap
()
pkg/usererror/error.go:38
↓ 5 callers
Function
WithBuildinfoStore
(store buildinfostore.Store)
bob/options.go:44
↓ 5 callers
Function
WithFilestore
(store store.Store)
bob/options.go:26
↓ 5 callers
Method
applyEditors
(ctx context.Context, req *http.Request, additionalEditors []RequestEditorFn)
pkg/store-client/generated/client.gen.go:346
↓ 5 callers
Function
artifactRemove
artifactRemove a artifact from the local artifact store
test/e2e/artifacts/artifactutils_test.go:14
↓ 5 callers
Function
getStatus
getStatus changes the current working dir before executing retireving the status.
bobgit/status_test.go:394
↓ 5 callers
Function
newBob
(opts ...Option)
bob/bob.go:75
↓ 5 callers
Function
releaseBobfile
releaseBobfile will revert changes done in useBobfile
test/e2e/nixrun/run_suite_test.go:165
↓ 5 callers
Method
setOffset
(offset int)
tui/model.go:446
↓ 5 callers
Function
useBobfile
useBobfile sets the right bobfile to be used for test
test/e2e/nixrun/run_suite_test.go:159
↓ 4 callers
Method
AddFile
(file string)
pkg/filehash/filehash.go:23
↓ 4 callers
Method
ArtifactExtract
ArtifactExtract extract an artifact from the localstore if it exists. Return true on a successful extract operation.
bobtask/artifact_extract.go:22
↓ 4 callers
Function
BobSetup
()
test/e2e/task-decoration/setup_test.go:12
↓ 4 callers
Function
Copy
Copy file to destination TODO: Use io.Copy instead of completely reading, then writing the file to use Go optimizations.
pkg/file/file.go:15
↓ 4 callers
Function
DefaultBuildinfoStore
()
bob/bob_defaults.go:42
↓ 4 callers
Method
Env
()
bobrun/run.go:72
↓ 4 callers
Method
GetBuildInfo
(id string)
pkg/buildinfostore/store.go:17
↓ 4 callers
Function
HashBytes
(r io.Reader)
pkg/filehash/hash.go:25
↓ 4 callers
Method
Id
()
example/server-db/server/item/item.go:15
↓ 4 callers
Function
ListRecursive
ListRecursive lists all files relative to input. It ignores symbolic links which are not inside the projectRoot.
pkg/filepathutil/list.go:30
↓ 4 callers
Function
New
()
pkg/filehash/filehash.go:16
↓ 4 callers
Function
NewRegistryClient
()
pkg/dockermobyutil/registry.go:49
↓ 4 callers
Method
Output
()
pkg/cmdutil/run.go:14
↓ 4 callers
Function
Parse
Parse a rawurl and return a GitRepo object containing the specific https and ssh protocol urls.
bob/repo_provider.go:87
↓ 4 callers
Method
Read
Read will read n bytes and track progress
pkg/progress/progress.go:104
↓ 4 callers
Method
Restart
()
pkg/ctl/command.go:10
↓ 4 callers
Function
SetLogLevel
(level int)
pkg/boblog/boblog.go:20
↓ 4 callers
Method
SetName
(name string)
bobrun/run.go:76
↓ 4 callers
Method
Shutdown
()
pkg/ctl/command.go:13
↓ 4 callers
Function
Split
Split splits a single-line "command" to a slice of commands. It currently supports the following syntaxes: * Input: echo Hello Output: [
pkg/multilinecmd/multilinecmd.go:28
↓ 4 callers
Method
Stdin
()
pkg/ctl/command.go:18
↓ 4 callers
Function
UniqueDeps
UniqueDeps removes duplicates from the list by checking against name-nixpkgs key
pkg/nix/dependency.go:4
↓ 4 callers
Function
WithEnvVariables
(env []string)
bob/options.go:80
↓ 4 callers
Function
WithEnvironment
(envs []string)
bobtask/options.go:5
↓ 4 callers
Function
addTaskPrefix
(prefix, taskname string)
bob/aggregate.go:261
↓ 4 callers
Function
assertMergeDeleteConflict
(t *testing.T, dir, defaultBranch string, deletedInMain bool)
bobgit/status_test.go:421
↓ 4 callers
Function
createAndCommitNewFile
(wt *git.Worktree, basePath, name, contents string)
test/setup/reposetup/fill.go:67
↓ 4 callers
Function
createNewFile
(basePath, name, contents string)
test/setup/reposetup/fill.go:54
↓ 4 callers
Function
getBuildTasks
()
cli/cmd_build.go:129
↓ 4 callers
Function
protoPort
(port string, proto string)
pkg/composeutil/composeutil.go:90
↓ 4 callers
Function
releaseBobfile
releaseBobfile will revert changes done in useBobfile
test/e2e/task-decoration/setup_test.go:37
↓ 4 callers
Function
requiresRebuildMustMatchFixtures
(b *bob.B, fixtures []requiresRebuildFixture)
test/e2e/multilevelbuild/multilevelbuild_test.go:215
↓ 4 callers
Method
save
(ctxs []*YamlAuthContext)
pkg/auth/store.go:214
↓ 4 callers
Function
startScan
()
test/e2e/nixrun/run_suite_test.go:119
↓ 4 callers
Function
stopScan
()
test/e2e/nixrun/run_suite_test.go:131
↓ 4 callers
Function
useBobfile
useBobfile sets the right bobfile to be used for test
test/e2e/task-decoration/setup_test.go:31
↓ 4 callers
Method
write
()
bob/bob.go:197
↓ 3 callers
Function
Bob
()
test/e2e/project/setup_test.go:7
↓ 3 callers
Method
BuildEnvironment
BuildEnvironment builds the environment with all nix deps
bob/nix-builder/nix_builder.go:177
↓ 3 callers
Method
Clone
Clone repos which are not yet in the workspace. Uses priority urls ssh >> https >> file. failFast will not prompt the user in case of an error. prefe
bob/clone.go:37
↓ 3 callers
Method
CloneRepo
CloneRepo repo and sub repositories recursively. failFast will not prompt the user in case of an error.
bob/clone.go:129
↓ 3 callers
Method
CreatedAt
()
example/server-db/server/item/item.go:23
↓ 3 callers
Method
Describe
()
bobtask/buildinfo/buildinfo.go:25
↓ 3 callers
Function
DisplayDuration
DisplayDuration used to display durations output to users
pkg/format/duration.go:9
↓ 3 callers
Method
Down
(ctx context.Context)
pkg/composectl/composectl.go:134
↓ 3 callers
Function
DownloadURl
DownloadURl give nix download URL based on OS
pkg/nix/nix.go:180
↓ 3 callers
Method
FilterInputs
FilterInputs in parallel
bobtask/map.go:52
↓ 3 callers
Function
FindBobRoot
Hint on how git finds it top repo dir. https://stackoverflow.com/questions/65499497/how-does-git-know-its-in-a-git-repo FindBobRoot returns the absolu
pkg/bobutil/bobutil.go:19
↓ 3 callers
Method
ImageTag
(src string, target string)
pkg/dockermobyutil/registry.go:30
↓ 3 callers
Method
InProgress
InProgress aquires the flag if not set. Safe for parallel use. The caller is responsible to call done in case no error is returned.
pkg/ctl/flag.go:14
↓ 3 callers
Method
Init
()
bob/init.go:14
↓ 3 callers
Function
IsInstalled
IsInstalled checks if nix is installed on the system
pkg/nix/nix.go:30
↓ 3 callers
Function
Name
RepoName returns the base part of the repo as the name. Suffix excluded.
bob/repo_provider.go:61
↓ 3 callers
Function
NixBuilder
NixBuilder initialises a new nix builder object with the cache setup in the given location. It's save to use the same base dir as for BuildinfoStore(
bob/bob_defaults.go:95
↓ 3 callers
Function
RunGitWithOutput
(root string, args ...string)
pkg/cmdutil/run.go:93
↓ 3 callers
Method
Running
()
pkg/ctl/command.go:11
↓ 3 callers
Method
Subcommands
()
pkg/ctl/command_tree.go:5
↓ 3 callers
Function
UntrackedRepoMessage
(repolist []string)
bobgit/commit.go:21
↓ 3 callers
Method
Verify
(ctx context.Context)
bob/verify.go:9
↓ 3 callers
Method
Walk
walk the task tree starting at root. Following dependend tasks. dependencies are expressed in local scope, level is used to resolve the taskname in gl
bobtask/map.go:23
↓ 3 callers
Function
WithNixBuilder
(nix *nixbuilder.NB)
bob/options.go:74
↓ 3 callers
Function
WithRequireBobConfig
WithRequireBobConfig forces bob to read the configuration from `.bob/config`. Currently only used by `bob clone` and `bob git ...
bob/options.go:20
↓ 3 callers
Method
WorkspaceFilePath
()
bob/config.go:9
↓ 3 callers
Function
assertMergeConflict
(t *testing.T, dir, branch string)
bobgit/status_test.go:408
↓ 3 callers
Function
checkTaskState
(b *bob.B, taskname string, expectedState playbook.State)
test/e2e/ignore/ignore_test.go:67
↓ 3 callers
Method
colorize
(cid string)
pkg/composectl/logger.go:36
↓ 3 callers
Function
commit
(wt *git.Worktree, msg string)
test/setup/reposetup/fill.go:83
↓ 3 callers
Function
createAndFillRepo
(basePath, name string)
test/setup/reposetup/create.go:10
↓ 3 callers
Function
createAndSwitchToBranch
(wt *git.Worktree, name string)
test/setup/reposetup/fill.go:97
↓ 3 callers
Function
createTempScript
(dir string, b []byte)
pkg/execctl/cmd_test.go:390
↓ 3 callers
Function
fprintChanges
fprintChanges helper to color & highlight the output based on status
bobgit/status/status.go:136
↓ 3 callers
Method
init
()
bob/init.go:19
↓ 3 callers
Function
isGitRepo
isGitRepo return true is the directory contains a `.git` directory
bobgit/bobgit.go:24
↓ 3 callers
Function
maingo
(ver int)
bob/playground.go:34
↓ 3 callers
Function
newArchiveReader
()
bobtask/artifact_create.go:36
↓ 3 callers
Function
parse
(projectname Name)
bob/bobfile/project/project.go:85
↓ 3 callers
Function
prepareRunError
(err error, cmd string, stderrBuf bytes.Buffer)
pkg/nix/nix.go:285
↓ 3 callers
Function
releaseSecondLevelBobfile
releaseBobfile will revert changes done in useSecondLevelBobfile
test/e2e/task-decoration/setup_test.go:48
↓ 3 callers
Function
releaseSecondLevelBobfile
releaseBobfile will revert changes done in useSecondLevelBobfile
test/e2e/target-name/setup_test.go:48
↓ 3 callers
Function
sortedKeys
sortedKeys returns the keys of `MultiRepoStatus` sorted by `sort.Strings`
bobgit/status/status.go:185
↓ 3 callers
Function
sortedKeysStatus
(m git.Status)
bobgit/status/status.go:194
↓ 3 callers
Function
source
Source of nixpkgs from where dependencies are built. If empty will use local <nixpkgs> or a specific tarball can be used ex. https://github.com/NixOS/
pkg/nix/nix.go:207
↓ 3 callers
Function
split
Split splits a single-line "input" to a slice of inputs. It currently supports the following syntaxes: Input: |- main1.go someotherfile Outp
bobtask/input.go:218
↓ 3 callers
Function
stopProfiling
stopProfiling triggeres _stopProfiling. It's save to be called multiple times.
cli/cli.go:14
← previous
next →
101–200 of 994, ranked by callers