MCPcopy Create free account

hub / github.com/JetBrains/qodana-cli / functions

Functions1,503 in github.com/JetBrains/qodana-cli

↓ 7 callersMethodAbort
Abort discards the temp file without renaming.
internal/foundation/fs/atomic.go:55
↓ 7 callersFunctionCheckForUpdates
CheckForUpdates check GitHub https://github.com/JetBrains/qodana-cli/ for the latest version of CLI release.
internal/core/system.go:52
↓ 7 callersMethodCommit
()
internal/core/corescan/context.go:173
↓ 7 callersFunctionCopyFile
CopyFile copies a file from src to dst using streaming (not loading entire file into memory).
internal/foundation/fs/fs.go:12
↓ 7 callersFunctionCreateAtomic
CreateAtomic creates a new atomic writer for the given path. Writes go to a unique temp file in the same directory; Close renames to the final path. S
internal/foundation/fs/atomic.go:22
↓ 7 callersFunctionFilter
Filter removes each item from `iterable` for which `predicate` returns `false`.
internal/foundation/algorithm/algorithm.go:16
↓ 7 callersMethodGetLibPath
(cacheDir string)
internal/tooling/libs.go:45
↓ 7 callersFunctionGetQodanaJBRPath
(cacheDir string)
internal/tooling/qodana_jbr.go:46
↓ 7 callersMethodGetVersionBranch
GetVersionBranch returns the version branch of the current Product, e.g. 2020.3 -> 203, 2021.1 -> 211, 2022.3 -> 223.
internal/platform/product/product_info.go:221
↓ 7 callersMethodJvmDebugPort
()
internal/core/corescan/context.go:199
↓ 7 callersFunctionNewContainerClient
NewContainerClient getContainerClient returns a docker client.
internal/platform/qdcontainer/container.go:99
↓ 7 callersMethodProperty
()
internal/core/corescan/context.go:201
↓ 7 callersFunctionQuote
Quote returns s shell-escaped so Split parses it as a single token. Quote is intentionally NOT idempotent on unsafe input: Quote(Quote("'")) differs f
internal/foundation/shlex/join.go:37
↓ 7 callersFunctionSampleRepoWithSubmodule
SampleRepoWithSubmodule creates a bare repo with a submodule at path "submodules/regular" with name "regular". The main repo has tags v1 and v2, where
internal/platform/git/testutil.go:242
↓ 7 callersFunctioncreateTarGzFromEntries
(t *testing.T, entries []tarEntry)
internal/foundation/archive/archive_test.go:190
↓ 7 callersFunctionfindRequest
findRequest finds the first request matching the given method and path from indexed map
test_linter/3rd_party_linter_jbr_integration_test.go:237
↓ 7 callersFunctionglobal_arg
The last global `ARG <name>` (before the first FROM) — the value Docker uses in FROM lines.
scripts/validate_dockerfiles_base.py:51
↓ 7 callersFunctionlog
Log message to file with timestamp.
test_linter/testdata/mock_server.py:31
↓ 7 callersFunctionprintSarifProblem
(r *sarif.Result, ruleId, message string)
internal/platform/sarif.go:409
↓ 7 callersFunctionpropertiesFixture
(enableStats bool, additionalProperties []string)
internal/core/core_test.go:1214
↓ 7 callersFunctionrunGitCommit
(t *testing.T, cwd string)
internal/platform/sarifVersioning_test.go:77
↓ 7 callersFunctionwriteCompileCommands
(t *testing.T, dir string, commands []Command)
clang/cmake_test.go:126
↓ 6 callersFunctionAppendToFile
AppendToFile appends text to a file.
internal/foundation/fs/fs.go:66
↓ 6 callersFunctionBootstrap
Bootstrap takes the given command (from CLI or qodana.yaml) and runs it.
internal/platform/utils/utils.go:42
↓ 6 callersFunctionCheckEAP
(buildDateStr string, isEap bool)
internal/platform/eap.go:27
↓ 6 callersFunctionCheckImage
CheckImage checks the linter image and prints warnings if necessary.
internal/core/container.go:140
↓ 6 callersMethodDiffStart
()
internal/core/corescan/context.go:174
↓ 6 callersMethodFailNow
()
internal/testutil/mockexe/testing.go:33
↓ 6 callersFunctionGetDefaultUser
()
internal/platform/utils/utils.go:189
↓ 6 callersFunctionGetIdeArgs
GetIdeArgs returns qodana command options.
internal/core/ide.go:113
↓ 6 callersFunctionGetSha256
GetSha256 computes a SHA-256 hash sum for a byte stream.
internal/foundation/hash/hash.go:12
↓ 6 callersFunctionGetShortSarifPath
(resultsDir string)
internal/platform/files.go:82
↓ 6 callersMethodGlobalConfigurationsDir
()
internal/core/corescan/context.go:146
↓ 6 callersFunctionIsInstalled
IsInstalled checks if git is installed.
internal/platform/utils/utils.go:237
↓ 6 callersFunctionNewThirdPartyScanCommand
NewThirdPartyScanCommand returns a new instance of the scan command.
internal/platform/third_party_scan_cmd.go:32
↓ 6 callersFunctionPrimary
Primary prints a message in the Primary style.
internal/platform/msg/output.go:88
↓ 6 callersFunctionSyncCache
(commonCtx commoncontext.Context, prod product.Product)
internal/core/startup/prepare.go:141
↓ 6 callersFunctionSyncIdeaCache
SyncIdeaCache sync .idea/ content from cache and back.
internal/core/startup/prepare.go:274
↓ 6 callersFunctionUnique
Unique removes all duplicates from `iterable`, keeping first occurence only.
internal/foundation/algorithm/algorithm.go:28
↓ 6 callersFunctionUpdateText
UpdateText updates the text of the spinner.
internal/platform/msg/output.go:177
↓ 6 callersFunctionaskCompiler
askCompiler retrieves the compiler's built-in system include directories by running it with `-E -Wp,-v -xc /dev/null` (or `-xc++` for C++ files). The
clang/cmake.go:135
↓ 6 callersFunctioncheckBitBucketApiError
checkBitBucketApiError checks if the API call was successful
internal/platform/ext_bitbucket.go:218
↓ 6 callersMethodcommit
(t *testing.T, name, email string)
internal/core/contributors_mailmap_test.go:84
↓ 6 callersMethodisNotOlderThan
(version int)
internal/platform/product/product_info.go:242
↓ 6 callersFunctionnewPullCommand
newPullCommand returns a new instance of the show command.
internal/cmd/pull.go:30
↓ 6 callersFunctionnewRootCommand
newRootCommand constructs root command.
internal/cmd/root.go:87
↓ 6 callersFunctionqodanaNugetVarsSet
()
internal/platform/nuget/nuget.go:104
↓ 6 callersFunctionskipIfCaseSensitive
(t *testing.T)
internal/foundation/fs/canonical_test.go:55
↓ 6 callersFunctiontoForwardSlash
TestGetFilesAndCompilers tests ===== toForwardSlash converts backslashes to forward slashes. CMake always uses forward slashes in compile_commands.jso
clang/cmake_test.go:122
↓ 6 callersMethodwithEnv
(key string, value string, override bool)
internal/core/corescan/context_changes.go:168
↓ 5 callersMethodAnalysisId
()
internal/core/corescan/context.go:179
↓ 5 callersFunctionAskUserConfirm
AskUserConfirm asks the user for confirmation with yes/no.
internal/platform/msg/cli.go:36
↓ 5 callersMethodCdnetConfiguration
()
internal/core/corescan/context.go:192
↓ 5 callersMethodCdnetPlatform
()
internal/core/corescan/context.go:193
↓ 5 callersMethodClangCompileCommands
()
internal/core/corescan/context.go:195
↓ 5 callersMethodClone
()
internal/platform/git/testutil.go:193
↓ 5 callersMethodCloneRecursive
()
internal/platform/git/testutil.go:211
↓ 5 callersMethodConfigDir
()
internal/core/corescan/context.go:155
↓ 5 callersFunctionContains
Contains checks if a string is in a given slice.
internal/foundation/str/str.go:19
↓ 5 callersFunctionCopyDir
CopyDir copies a directory from src to dst.
internal/foundation/fs/fs.go:34
↓ 5 callersFunctionCreateEffectiveConfigFiles
( cacheDir string, localQodanaYamlFullPath string, globalConfigurationsDir string, globalConfigId string,
internal/platform/effectiveconfig/config.go:43
↓ 5 callersFunctionCurrentRevision
(cwd string, logdir string)
internal/platform/git/git.go:301
↓ 5 callersMethodCustomLocalQodanaYamlPath
()
internal/core/corescan/context.go:148
↓ 5 callersFunctionExecWithTimeout
ExecWithTimeout executes subprocess with forwarding of signals, and returns its exit code.
internal/foundation/exec/exec.go:32
↓ 5 callersFunctionFindFiles
FindFiles returns a slice of files with the given extensions from the given root (recursive).
internal/platform/utils/utils.go:53
↓ 5 callersFunctionGetCloudApiEndpoints
()
internal/cloud/endpoints.go:60
↓ 5 callersFunctionGetContributors
GetContributors returns the list of contributors of the git repository.
internal/core/contributors.go:124
↓ 5 callersFunctionGetEnv
(provider EnvProvider, key string)
internal/platform/qdenv/qdenv.go:109
↓ 5 callersFunctionGetEnvWithOsEnv
(provider EnvProvider, key string)
internal/platform/qdenv/qdenv.go:118
↓ 5 callersFunctionGetFileSha256
GetFileSha256 computes a SHA-256 hash sum from an existing file.
internal/foundation/hash/hash.go:24
↓ 5 callersFunctionGetReportUrl
GetReportUrl retrieves the Qodana Cloud report URL from the qodana.sarif.json in the specified results directory.
internal/cloud/report.go:37
↓ 5 callersFunctionIsBitBucket
IsBitBucket returns true if the current environment is BitBucket Pipelines.
internal/platform/qdenv/qdenv.go:282
↓ 5 callersMethodLinterInfo
()
internal/platform/thirdpartyscan/context.go:181
↓ 5 callersFunctionLoadCloudUploadToken
(tokenLoader CloudTokenLoader, refresh bool, requiresToken bool, interactive bool)
internal/platform/tokenloader/token_loader.go:60
↓ 5 callersFunctionNative
Native creates a mock native analyzer exe. The handler runs in the test process when production code invokes the IDE script. Returns the exe path.
internal/testutil/mocklinter/mocklinter.go:37
↓ 5 callersFunctionPrintProcess
PrintProcess prints the message for processing phase. TODO: Add ETA based on previous runs
internal/platform/msg/output.go:144
↓ 5 callersMethodReportDir
()
internal/core/corescan/context.go:159
↓ 5 callersMethodRunFunc
(hash string, ctx context.Context, c corescan.Context)
internal/core/incremental_analysis.go:43
↓ 5 callersFunctionSetupLicenseToken
(cloudUploadToken string)
internal/cloud/license.go:208
↓ 5 callersMethodTag
Tag creates a lightweight tag at the current HEAD.
internal/platform/git/testutil.go:91
↓ 5 callersFunctionWarningMessageCI
WarningMessageCI prints a warning message to the CI environment (additional highlighting).
internal/platform/msg/output.go:119
↓ 5 callersMethodWrite
(p []byte)
internal/testutil/mockexe/protocol.go:97
↓ 5 callersFunctionWriteFileAtomic
WriteFileAtomic writes data to path atomically via a temp file.
internal/foundation/fs/atomic.go:64
↓ 5 callersFunctioncleanup
cleanup removes ANSI codes, UUID defaults, and replaces home dir with ~
scripts/generate-docs.go:80
↓ 5 callersFunctioncomputeId
(analyzer product.Analyzer, projectDir string)
internal/platform/commoncontext/compute.go:256
↓ 5 callersFunctiongetFingerprint
getFingerprint returns the fingerprint of the Qodana (or not) SARIF result.
internal/platform/sarif.go:446
↓ 5 callersFunctiongetRuleDescription
(report *sarif.Report, ruleId string)
internal/platform/sarif.go:327
↓ 5 callersFunctiongetSeverity
getSeverity returns the severity of the Qodana (or not) SARIF result.
internal/platform/sarif.go:462
↓ 5 callersFunctiongetTerminalWidth
getTerminalWidth returns the width of the terminal.
internal/platform/msg/output.go:211
↓ 5 callersFunctionisFileExists
goland:noinspection GoRedundantElseInIf
internal/platform/effectiveconfig/config.go:208
↓ 5 callersFunctionisPathWithinDir
(path, dir string)
internal/foundation/archive/archive.go:130
↓ 5 callersFunctionnewInitCommand
newInitCommand returns a new instance of the show command.
internal/cmd/init.go:35
↓ 5 callersFunctionnormalizeCaseWindows
normalizeCaseWindows normalizes filename case on Windows by looking up each path component via FindFirstFileW, which returns the on-disk name regardle
internal/foundation/fs/canonical_windows.go:130
↓ 5 callersFunctionplatformDir
(cacheDir string, p platform)
internal/tooling/scripts/build-qodana-jbr.go:183
↓ 5 callersMethodprepareContext
(skipFixes bool, propertiesToAdd ...string)
internal/core/corescan/context_changes.go:190
↓ 4 callersMethodCdnetProject
()
internal/core/corescan/context.go:191
↓ 4 callersMethodCdnetSolution
()
internal/core/corescan/context.go:190
↓ 4 callersFunctionCheckDirFiles
CheckDirFiles checks if a directory contains any files.
internal/foundation/fs/fs.go:80
↓ 4 callersMethodClangArgs
()
internal/core/corescan/context.go:196
↓ 4 callersFunctionCleanDirectory
CleanDirectory removes all entries in a directory without removing the directory itself.
internal/foundation/fs/fs.go:89
← previousnext →101–200 of 1,503, ranked by callers