Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JetBrains/qodana-cli
/ functions
Functions
1,503 in github.com/JetBrains/qodana-cli
⨍
Functions
1,503
◇
Types & classes
180
↳
Endpoints
13
↓ 360 callers
Method
Run
(args ...string)
internal/platform/git/testutil.go:41
↓ 322 callers
Method
Fatal
(args ...any)
internal/testutil/mockexe/testing.go:34
↓ 257 callers
Method
Fatalf
(format string, args ...any)
internal/testutil/mockexe/testing.go:35
↓ 111 callers
Method
WriteFile
WriteFile writes content to a file in the repository.
internal/platform/git/testutil.go:141
↓ 108 callers
Method
Close
Close syncs, closes the temp file, and atomically renames it to the target.
internal/foundation/fs/atomic.go:41
↓ 87 callers
Method
Dir
Dir returns the directory path of the repository.
internal/platform/git/testutil.go:86
↓ 68 callers
Function
canonicalTempDir
Test helpers =============================================================
internal/foundation/fs/canonical_test.go:17
↓ 60 callers
Function
Canonical
Canonical returns the canonical form of path: absolute, with all symlinks resolved, dot/dotdot segments eliminated, redundant separators removed, and
internal/foundation/fs/canonical_unix.go:20
↓ 60 callers
Method
Error
()
internal/platform/git/git.go:44
↓ 56 callers
Method
ReadFile
ReadFile reads a file from the repository.
internal/platform/git/testutil.go:150
↓ 50 callers
Function
ErrorMessage
ErrorMessage prints an error message with the icon.
internal/platform/msg/output.go:125
↓ 44 callers
Method
Name
()
internal/platform/product/analyzers.go:30
↓ 39 callers
Method
Error
()
internal/cloud/endpoints.go:130
↓ 38 callers
Method
Error
()
internal/foundation/shlex/shlex.go:67
↓ 35 callers
Function
mkdirp
(t *testing.T, path string)
internal/foundation/fs/canonical_test.go:25
↓ 34 callers
Method
ResultsDir
()
internal/core/corescan/context.go:154
↓ 34 callers
Method
Skip
(args ...any)
internal/testutil/mockexe/testing.go:37
↓ 33 callers
Method
LogDir
()
internal/core/corescan/context.go:156
↓ 32 callers
Method
Build
()
internal/core/corescan/context.go:267
↓ 32 callers
Method
String
()
internal/foundation/fs/relativity.go:20
↓ 31 callers
Method
CommitAll
CommitAll stages all files and creates a commit with the given message. Returns the SHA of the created commit.
internal/platform/git/testutil.go:72
↓ 31 callers
Function
WarningMessage
WarningMessage prints a warning message with the icon.
internal/platform/msg/output.go:112
↓ 29 callers
Function
setupProjectDir
setupProjectDir creates a nested directory hierarchy tmpDir/g/p/project and optionally places a clang-tidy config file at a given ancestor level. ance
clang/config_test.go:24
↓ 27 callers
Method
NativeAnalyzer
()
internal/platform/product/product.go:261
↓ 27 callers
Function
PrimaryBold
PrimaryBold prints a message in the primary bold style.
internal/platform/msg/output.go:94
↓ 27 callers
Function
makeSymlink
(t *testing.T, target, linkPath string)
internal/foundation/fs/canonical_test.go:38
↓ 26 callers
Function
IsContainer
()
internal/platform/qdenv/qdenv.go:137
↓ 26 callers
Function
Relativity
Relativity classifies a path into one of the four categories.
internal/foundation/fs/relativity.go:143
↓ 26 callers
Function
touch
(t *testing.T, path string)
internal/foundation/fs/canonical_test.go:30
↓ 25 callers
Method
DockerAnalyzer
()
internal/platform/product/product.go:268
↓ 24 callers
Function
WeaklyCanonical
WeaklyCanonical is like Canonical but does not require the full path to exist. It canonicalizes the longest existing prefix, then appends the remainin
internal/foundation/fs/canonical_unix.go:54
↓ 23 callers
Method
Write
Write implements io.Writer.
internal/foundation/fs/atomic.go:36
↓ 22 callers
Function
runProcessConfig
( t *testing.T, projectDir string, version string, includes []qdyaml.Clude, excludes []qdyaml.Clude, )
clang/config_test.go:47
↓ 19 callers
Method
RepositoryRoot
()
internal/core/corescan/context.go:153
↓ 19 callers
Function
gitRun
gitRun runs the git command in the given directory and returns an error if any.
internal/platform/git/git.go:49
↓ 18 callers
Function
CreateMockExe
CreateMockExe builds a callback-client binary at destPath with the callback server address baked in via -ldflags, and registers a handler to be called
internal/testutil/mockexe/mockexe.go:119
↓ 17 callers
Method
GetLinter
()
internal/platform/product/analyzers.go:27
↓ 16 callers
Method
Prod
()
internal/core/corescan/context.go:150
↓ 16 callers
Function
findEntry
findEntry looks up a directory entry by name, returning the actual on-disk name. On Linux, it opens the entry with O_PATH|O_NOFOLLOW (which requires o
internal/foundation/fs/find_entry_linux.go:24
↓ 15 callers
Function
IsInteractive
IsInteractive returns true if the current execution environment is interactive (useful for colors/animations toggle).
internal/platform/msg/output.go:59
↓ 15 callers
Function
LoadQodanaYamlByFullPath
(fullPath string)
internal/platform/qdyaml/yaml.go:382
↓ 15 callers
Function
check_flattened
(variant: str, flattened: str)
scripts/validate_dockerfiles_base.py:91
↓ 14 callers
Method
Cleanup
()
internal/core/corescan/context.go:187
↓ 14 callers
Method
IsContainer
()
internal/platform/product/analyzers.go:28
↓ 14 callers
Function
MakeDirAll
(dir string)
internal/core/startup/prepare.go:227
↓ 14 callers
Function
NewGitRepo
NewGitRepo initializes a new git repository and returns a GitRepo for it.
internal/platform/git/testutil.go:166
↓ 14 callers
Function
QuoteIfSpace
QuoteIfSpace wraps in '"' if the string contains a space.
internal/foundation/str/str.go:35
↓ 14 callers
Function
RevParse
RevParse converts any commit reference (hash, branch name, tag name, etc.) to a full SHA1 commit hash.
internal/platform/git/git.go:84
↓ 13 callers
Function
Need
Need skips the test if any of the given flags are disabled.
internal/testutil/needs/needs.go:26
↓ 13 callers
Method
ProjectDir
()
internal/core/corescan/context.go:152
↓ 13 callers
Function
resolved_dhi_base_tags
Resolve every `dhi.io/<repo>` FROM to its tag; untagged/unexpandable-$VAR → "" (fail-closed).
scripts/validate_dockerfiles_base.py:60
↓ 12 callers
Method
CacheDir
()
internal/core/corescan/context.go:158
↓ 12 callers
Function
ExtractTarGz
ExtractTarGz extracts a .tar.gz file to destDir. If stripTopDir is true, the first path component is removed from each entry (e.g., "jbrsdk-25.0.2-lin
internal/foundation/archive/archive.go:138
↓ 12 callers
Function
GetLocalNotEffectiveQodanaYamlFullPath
GetLocalNotEffectiveQodanaYamlFullPath does not process `imports` field and doesn't use global configuration
internal/platform/qdyaml/yaml.go:362
↓ 12 callers
Method
Image
()
internal/platform/product/product.go:275
↓ 12 callers
Method
ResultsDir
()
internal/platform/thirdpartyscan/context.go:185
↓ 12 callers
Function
SuccessMessage
SuccessMessage prints a success message with the icon.
internal/platform/msg/output.go:105
↓ 12 callers
Function
createDefaultYaml
(sln string, prj string, cfg string, plt string)
cdnet/options_test.go:34
↓ 11 callers
Function
CheckoutAndUpdateSubmodule
CheckoutAndUpdateSubmodule performs a git checkout to the specified rev and updates submodules recursively, QD-10767.
internal/platform/git/git.go:102
↓ 11 callers
Function
EmptyMessage
EmptyMessage is a message that is used when there is no message to show.
internal/platform/msg/output.go:100
↓ 11 callers
Function
GetQodanaGlobalEnv
(key string)
internal/platform/qdenv/qdenv.go:84
↓ 11 callers
Function
ReadReport
(file string)
internal/platform/sarif.go:241
↓ 11 callers
Function
Split
Split parses s as a POSIX shell command line and returns its word tokens. Empty and whitespace-only input return (nil, nil). See package doc for the f
internal/foundation/shlex/split.go:8
↓ 11 callers
Function
findClangTidyConfig
findClangTidyConfig returns the absolute path of the nearest .clang-tidy or _clang-tidy file reachable from startDir by walking toward the filesystem
clang/config.go:72
↓ 11 callers
Function
selectUser
(image string, userFromContext string)
internal/core/container.go:461
↓ 10 callers
Function
AppendUnique
AppendUnique appends elements to a slice only if they are not already present.
internal/foundation/algorithm/algorithm.go:6
↓ 10 callers
Function
ExecRedirectOutput
ExecRedirectOutput executes subprocess with forwarding of signals, returns stdout, stderr and exit code.
internal/foundation/exec/exec.go:79
↓ 10 callers
Function
InitializeQodanaGlobalEnv
(provider EnvProvider)
internal/platform/qdenv/qdenv.go:75
↓ 10 callers
Method
QodanaYamlConfig
()
internal/core/corescan/context.go:149
↓ 10 callers
Function
compilerCacheKey
compilerCacheKey produces an unambiguous cache key for the (compiler, headerType) pair. A null byte is used as the delimiter because it cannot appear
clang/cmake.go:51
↓ 10 callers
Function
createMockCompiler
(t *testing.T, destPath string, handler func(ctx *mockexe.CallContext) int)
clang/cmake_test.go:27
↓ 10 callers
Function
writeFileIfNew
(filepath string, content string)
internal/core/startup/prepare.go:299
↓ 9 callers
Method
Analyser
()
internal/core/corescan/context.go:142
↓ 9 callers
Function
Compute
( overrideLinter string, overrideIde string, overrideImage string, overrideWithinDocker string, cacheDirF
internal/platform/commoncontext/compute.go:36
↓ 9 callers
Method
DiffEnd
()
internal/core/corescan/context.go:175
↓ 9 callers
Function
Exec
Exec executes subprocess with forwarding of signals, and returns its exit code.
internal/foundation/exec/exec.go:27
↓ 9 callers
Function
GetSarifPath
(resultsDir string)
internal/platform/files.go:78
↓ 9 callers
Function
IsCloudTokenRequired
(tokenLoader CloudTokenLoader)
internal/platform/tokenloader/token_loader.go:47
↓ 9 callers
Method
LogDir
()
internal/platform/commoncontext/context.go:40
↓ 9 callers
Function
MakeAbsolute
MakeAbsolute converts any path to an absolute path without calling filepath.Clean (which would collapse symlink/.. lexically). For DriveRelative paths
internal/foundation/fs/relativity.go:40
↓ 9 callers
Method
Script
()
internal/core/corescan/context.go:171
↓ 9 callers
Function
createShortSarif
(path string, skipped bool)
internal/core/system_test.go:452
↓ 9 callers
Function
is_root_tag
DHI root build bases are the '-dev' variants; strip any @digest first.
scripts/validate_dockerfiles_base.py:46
↓ 9 callers
Function
jbrFlavor
jbrFlavor returns the JBR archive flavor string (e.g. "linux-x64", "osx-aarch64").
internal/tooling/scripts/build-qodana-jbr.go:49
↓ 9 callers
Function
newScanCommand
newScanCommand returns a new instance of the scan command.
internal/cmd/scan.go:43
↓ 9 callers
Function
runCommand
(t *testing.T, cwd string, command string)
internal/platform/sarifVersioning_test.go:65
↓ 8 callers
Method
Build
()
internal/platform/thirdpartyscan/context.go:149
↓ 8 callers
Method
CacheDir
()
internal/platform/thirdpartyscan/context.go:188
↓ 8 callers
Function
EmptyEnvProvider
()
internal/platform/qdenv/qdenv.go:105
↓ 8 callers
Function
GetCloudRootEndpoint
()
internal/cloud/endpoints.go:72
↓ 8 callers
Function
GetDeviceIdSalt
GetDeviceIdSalt set consistent device.id based on given repo upstream #SA-391.
internal/platform/deviceid.go:30
↓ 8 callers
Function
GetEnvWithDefaultInt
(env string, defaultValue int)
internal/cloud/license.go:196
↓ 8 callers
Function
Linter
Linter returns a product.Linter representing a mock analysis tool. Returns a fresh instance each time to prevent cross-test mutation.
internal/testutil/mocklinter/mocklinter.go:22
↓ 8 callers
Function
SafeSplit
SafeSplit splits a string by a separator and safely returns the element at the given index. If the index is out of range, an empty string is returned.
internal/foundation/str/str.go:10
↓ 8 callers
Function
SameFile
SameFile checks if two paths reference the same file (same inode).
internal/foundation/fs/fs.go:107
↓ 8 callers
Function
getAttempts
()
internal/cloud/license.go:184
↓ 8 callers
Function
getFilesAndCompilers
getFilesAndCompilers returns a list of files with their corresponding compiler's include directories
clang/cmake.go:94
↓ 8 callers
Method
read
(self)
scripts/dockerfiles_test.py:123
↓ 8 callers
Function
runProcessConfigFull
( t *testing.T, projectDir string, version string, includes []qdyaml.Clude, excludes []qdyaml.Clude, )
clang/config_test.go:59
↓ 8 callers
Function
runSplitTable
(t *testing.T, cases []splitCase)
internal/foundation/shlex/split_test.go:203
next →
1–100 of 1,503, ranked by callers