Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NazmusSayad/.dotfiles
/ functions
Functions
203 in github.com/NazmusSayad/.dotfiles
⨍
Functions
203
◇
Types & classes
58
↓ 57 callers
Function
ExecNativeCommand
(args []string, options ...ExecCommandOptions)
src/helpers/cmd.go:32
↓ 21 callers
Function
IsFileExists
(path string)
src/utils/fs.go:5
↓ 13 callers
Function
ResolvePath
(input string)
src/helpers/path.go:11
↓ 13 callers
Function
runCommand
(commands []string)
src/scripts/packages-sync/main.go:114
↓ 12 callers
Function
Ternary
(cond bool, a, b T)
src/utils/ternary.go:3
↓ 9 callers
Function
mustEntriesByKey
(t *testing.T, raw string)
src/helpers/json-patch_test.go:218
↓ 8 callers
Function
IsCommandInPath
(command string)
src/utils/path.go:5
↓ 7 callers
Function
MergeJSONObject
(prev string, next string)
src/helpers/json-patch.go:11
↓ 7 callers
Function
parseObjectLayout
(raw []byte)
src/helpers/json-patch.go:214
↓ 6 callers
Function
jsonEqual
(left []byte, right []byte)
src/helpers/json-patch.go:402
↓ 6 callers
Function
skipSpace
(raw []byte, i int)
src/helpers/json-patch.go:431
↓ 5 callers
Function
EnsureAdminExecution
()
src/helpers/admin_unix.go:17
↓ 5 callers
Function
GetCurrentGitBranchOrExit
()
src/helpers/git.go:81
↓ 5 callers
Function
IsGitRepo
()
src/helpers/git.go:12
↓ 5 callers
Function
setAgentModel
(currentAgentModels OpencodeResolveAgentModels, agentId string, modelId string)
src/helpers/opencode/resolve.go:168
↓ 5 callers
Function
setAgentModel
(fullConfig map[string]any, agent string, modelId string)
src/scripts/opencode-configure/main.go:142
↓ 5 callers
Function
setEnv
(name, value string)
src/scripts/windows-env/main.go:77
↓ 4 callers
Function
GetCurrentGitRemoteOrExit
()
src/helpers/git.go:93
↓ 4 callers
Function
TerminateProcessTree
(pid int32)
src/helpers/process.go:36
↓ 3 callers
Function
InGitRepoOrExit
()
src/helpers/git.go:74
↓ 3 callers
Function
WriteEnv
(scope Scope, name, value string)
src/helpers/env.go:47
↓ 3 callers
Function
consumeString
(raw []byte, i int)
src/helpers/json-patch.go:444
↓ 3 callers
Function
escape
(s string)
src/install-start-menu/main.go:15
↓ 3 callers
Function
psEscape
(s string)
src/helpers/env.go:33
↓ 2 callers
Function
BuildWingetOptions
(p helpers.WingetAppConfig, interactive bool)
src/helpers/winget/command.go:5
↓ 2 callers
Function
FetchModels
(providerID string, providerURL string, apiKey string)
src/helpers/opencode/fetch.go:33
↓ 2 callers
Function
FindOtherPIDByExecutablePath
(executablePath string, currentPID int32)
src/helpers/process.go:12
↓ 2 callers
Function
GenerateOffDaysHash
(month time.Month, day int)
src/helpers/slack/config.go:61
↓ 2 callers
Function
GenerateSymlink
(source string, target string)
src/helpers/fs.go:56
↓ 2 callers
Function
GenerateWindowsTaskXML
(options WindowsTaskOptions)
src/helpers/windows-tasks.go:48
↓ 2 callers
Function
GetGitHubUser
()
src/helpers/github.go:180
↓ 2 callers
Function
GetScoopApps
()
src/helpers/apps.go:63
↓ 2 callers
Function
GetScoopConfigAppMap
(configs []helpers.ScoopAppConfig)
src/helpers/scoop/config.go:10
↓ 2 callers
Function
GetScoopConfigBucketsList
(configs []helpers.ScoopAppConfig)
src/helpers/scoop/config.go:30
↓ 2 callers
Function
GetScoopExportAppMap
(export ScoopExport)
src/helpers/scoop/exports.go:41
↓ 2 callers
Function
GetScoopExportBucketsList
(export ScoopExport)
src/helpers/scoop/exports.go:51
↓ 2 callers
Function
GetScoopExports
()
src/helpers/scoop/exports.go:25
↓ 2 callers
Function
GetSlackStartupConfig
()
src/helpers/slack/startup-config.go:17
↓ 2 callers
Function
GetWingetApps
()
src/helpers/apps.go:115
↓ 2 callers
Function
HourToAmPm
(h int)
src/utils/time.go:5
↓ 2 callers
Function
IsSlackRunning
()
src/helpers/slack/runtime.go:14
↓ 2 callers
Function
ReadSlackConfig
()
src/helpers/slack/config.go:44
↓ 2 callers
Function
ResolveApiKey
(providerId string, modelsDotDevProvider ModelsDotDevProvider, authConfig AuthConfig)
src/helpers/opencode/api-key.go:5
↓ 2 callers
Function
SlackApplicationStart
()
src/helpers/slack/runtime.go:31
↓ 2 callers
Function
SlackApplicationStop
()
src/helpers/slack/runtime.go:56
↓ 2 callers
Function
SlackLaunch
(status SlackStatus)
src/helpers/slack/launch.go:39
↓ 2 callers
Function
SortArrayOfString
(slice []string)
src/utils/array.go:17
↓ 2 callers
Function
UniqueArray
(slice []T)
src/utils/array.go:3
↓ 2 callers
Function
WriteGithubReleaseZipFile
(outDir, ghURL, archivePattern, exeName string)
src/helpers/github.go:128
↓ 2 callers
Function
buildScript
(sourceDir string, outputDir string, entryName string, exe string)
src/compile-scripts/main.go:54
↓ 2 callers
Function
createTargetDirs
(target string)
src/helpers/fs.go:87
↓ 2 callers
Function
downloadGithubReleaseFile
(outDir, ghURL, pattern string)
src/helpers/github.go:81
↓ 2 callers
Function
entriesByKey
(entries []objectEntry)
src/helpers/json-patch.go:70
↓ 2 callers
Function
execPsCommand
(command string)
src/helpers/env.go:19
↓ 2 callers
Function
filterLLMModalities
(modalities []string)
src/helpers/opencode/fetch.go:22
↓ 2 callers
Function
findExecutable
(name string)
src/scripts/msys-git-patch/main.go:54
↓ 2 callers
Function
formatTimeForCalendarTrigger
(hour int, minute int)
src/helpers/windows-tasks.go:154
↓ 2 callers
Function
getCodeBasedRoot
(bin string)
src/scripts/clean-code-snippets/main.go:31
↓ 2 callers
Function
inheritFromParent
(path string, isSymlink bool)
src/helpers/symlink_unix.go:22
↓ 2 callers
Function
inheritOwnership
(target string, createdDirs []string)
src/helpers/symlink_unix.go:14
↓ 2 callers
Function
installScoopApp
(appId string)
src/scripts/scoop-install/main.go:80
↓ 2 callers
Function
isExcluded
(configExt ExtensionConfig, executable string)
src/scripts/code-ext-sync/main.go:138
↓ 2 callers
Function
isIncluded
(configExt ExtensionConfig, executable string)
src/scripts/code-ext-sync/main.go:134
↓ 2 callers
Function
isJSONObject
(raw []byte)
src/helpers/json-patch.go:426
↓ 2 callers
Function
isRunningAsAdmin
()
src/helpers/admin_unix.go:13
↓ 2 callers
Function
renderSlackStatus
(label string, status slack.SlackStatus, launch bool)
src/scripts/slack-status/main.go:79
↓ 2 callers
Function
tick
()
src/scripts/proxy-pause/main.go:22
↓ 1 callers
Function
AddToEnvPath
(scope Scope, paths ...string)
src/helpers/env.go:58
↓ 1 callers
Function
CopyFile
(source string, target string)
src/helpers/fs.go:13
↓ 1 callers
Function
FetchModelsDotDev
()
src/helpers/opencode/fetch.go:121
↓ 1 callers
Function
FetchOpenrouterModels
(auth AuthConfig)
src/helpers/opencode/fetch.go:114
↓ 1 callers
Function
GetBrewTaps
(brewFilePath string)
src/helpers/brew.go:8
↓ 1 callers
Function
GetCurrentGitBranch
()
src/helpers/git.go:22
↓ 1 callers
Function
GetCurrentGitRemote
()
src/helpers/git.go:36
↓ 1 callers
Function
GetGitRemoteHTTPUrl
(remote string)
src/helpers/git.go:50
↓ 1 callers
Function
GetGitRemoteUrlOrExit
(remote string)
src/helpers/git.go:105
↓ 1 callers
Function
GetMsysApps
()
src/helpers/apps.go:41
↓ 1 callers
Function
GetScoopConfigSrcMap
(configs []helpers.ScoopAppConfig)
src/helpers/scoop/config.go:20
↓ 1 callers
Function
GetSlackRuntimePath
()
src/helpers/slack/runtime.go:19
↓ 1 callers
Function
GetUpgradeablePackages
()
src/helpers/winget/packages.go:14
↓ 1 callers
Function
Open
(target string, options ...ExecCommandOptions)
src/helpers/open.go:9
↓ 1 callers
Function
ReadConfig
(path string, options ...ReadConfigOptions)
src/helpers/config.go:20
↓ 1 callers
Function
ReadConfig
()
src/helpers/opencode/config.go:13
↓ 1 callers
Function
ReadEnv
(scope Scope, name string)
src/helpers/env.go:37
↓ 1 callers
Function
ResolveOpencodeProvider
( providerId string, providerConfig OpencodeProviderConfig, modelsDotDevProvider ModelsDotDevProvider, openr
src/helpers/opencode/resolve.go:18
↓ 1 callers
Function
WriteGithubReleaseFile
(outDir, ghURL, pattern string)
src/helpers/github.go:109
↓ 1 callers
Function
WriteSlackStartupConfig
(config SlackStatus)
src/helpers/slack/startup-config.go:30
↓ 1 callers
Function
WriteUTF16LE
(path string, s string)
src/utils/utf.go:8
↓ 1 callers
Function
appendAddedKeys
(raw []byte, nextRaw []byte, nextLayout objectLayout, mergedByKey map[string]objectEntry)
src/helpers/json-patch.go:147
↓ 1 callers
Function
appendField
(raw []byte, nextRaw []byte, nextLayout objectLayout, field []byte)
src/helpers/json-patch.go:346
↓ 1 callers
Function
appendFieldToEmptyObject
(raw []byte, layout objectLayout, nextRaw []byte, nextLayout objectLayout, field []byte)
src/helpers/json-patch.go:359
↓ 1 callers
Function
appendFieldToNonEmptyObject
(raw []byte, layout objectLayout, field []byte)
src/helpers/json-patch.go:381
↓ 1 callers
Function
applyModelContextCap
(model OpencodeStandardModel, contextCap int)
src/helpers/opencode/resolve.go:185
↓ 1 callers
Function
applyReplaceOps
(raw []byte, ops []replaceOp)
src/helpers/json-patch.go:299
↓ 1 callers
Function
applySysProcAttr
(cmd *exec.Cmd, detached bool)
src/helpers/cmd_unix.go:10
↓ 1 callers
Function
backupIfExists
(path string)
src/scripts/msys-git-patch/main.go:62
↓ 1 callers
Function
buildField
(nextRaw []byte, nextEntry objectEntry, mergedEntry objectEntry)
src/helpers/json-patch.go:329
↓ 1 callers
Function
buildMergedByKey
(prev []byte, next []byte)
src/helpers/json-patch.go:51
↓ 1 callers
Function
chooseMergedValue
(prevEntry objectEntry, nextEntry objectEntry, hasNext bool, mergedEntry objectEntry)
src/helpers/json-patch.go:103
↓ 1 callers
Function
cleanupSnippets
(editor Editor)
src/scripts/clean-code-snippets/main.go:66
next →
1–100 of 203, ranked by callers