MCPcopy Index your code

hub / github.com/dagger/container-use / functions

Functions323 in github.com/dagger/container-use

↓ 1 callersFunctionnormalizeURL
(endpoint string)
repository/git.go:663
↓ 1 callersFunctionparseLogLevel
(levelStr string)
cmd/container-use/logger.go:16
↓ 1 callersFunctionpromptForEnvironmentSelection
promptForEnvironmentSelection prompts the user to select from multiple environments
cmd/container-use/env_selection.go:52
↓ 1 callersMethodsaveState
(ctx context.Context, env *environment.Environment)
repository/git.go:298
↓ 1 callersFunctionsetCurrentEnvironmentID
setCurrentEnvironmentID sets the current environment ID for single-tenant mode
mcpserver/singletenant.go:48
↓ 1 callersFunctionsetCurrentEnvironmentSource
setCurrentEnvironmentSource sets the current environment source for single-tenant mode
mcpserver/singletenant.go:55
↓ 1 callersFunctionsetupLogger
()
cmd/container-use/logger.go:31
↓ 1 callersFunctionsetupSignalHandling
()
cmd/container-use/signal_unix.go:13
↓ 1 callersMethodstartServices
(ctx context.Context)
environment/service.go:30
↓ 1 callersFunctiontruncate
(app *cobra.Command, s string, max int)
cmd/container-use/list.go:46
↓ 1 callersFunctionwrapToolWithClient
keeping this modular for now. we could move tool registration to RunStdioServer and collapse the 2 wrapTool functions.
mcpserver/tools.go:173
MethodClear
Clear removes all key-value pairs
environment/config.go:88
FunctionEnvironmentInfoToCallResult
(envInfo *environment.EnvironmentInfo)
mcpserver/tools.go:238
MethodFileDelete
FileDelete mirrors environment_file_delete MCP tool behavior
environment/integration/helpers.go:253
MethodGet
Get retrieves a full Environment with dagger client embedded for container operations. Use this when you need to perform container operations like run
repository/repository.go:244
MethodGet
(version int)
environment/state.go:68
MethodGet
(name string)
environment/config.go:46
MethodInit
Init initializes the model
cmd/container-use/agent/configure_ui.go:76
MethodLatestVersion
()
environment/state.go:60
FunctionNewConfigureClaude
()
cmd/container-use/agent/configure_claude.go:19
FunctionNewConfigureCodex
()
cmd/container-use/agent/configure_codex.go:19
FunctionNewConfigureCursor
()
cmd/container-use/agent/configure_cursor.go:17
FunctionNewConfigureGoose
()
cmd/container-use/agent/configure_goose.go:20
FunctionNewConfigureQ
()
cmd/container-use/agent/configure_q.go:18
FunctionNewMCPServerProcess
NewMCPServerProcess starts a new container-use MCP server process
cmd/container-use/stdio_test.go:30
MethodReadWorktreeFile
ReadWorktreeFile reads directly from an environment's worktree
environment/integration/helpers.go:314
FunctionTestCommitWorktreeChanges
Test the commitWorktreeChanges function
repository/git_test.go:132
FunctionTestConfigureClaudeUpdateSettings
(t *testing.T)
cmd/container-use/agent/configure_test.go:28
FunctionTestConfigureCodexUpdateConfig
(t *testing.T)
cmd/container-use/agent/configure_test.go:40
FunctionTestConfigureCursorUpdateConfig
(t *testing.T)
cmd/container-use/agent/configure_test.go:88
FunctionTestConfigureEditRulesFile
(t *testing.T)
cmd/container-use/agent/configure_test.go:10
FunctionTestConfigureGooseUpdateConfig
(t *testing.T)
cmd/container-use/agent/configure_test.go:52
FunctionTestConfigureQUpdateConfig
(t *testing.T)
cmd/container-use/agent/configure_test.go:69
FunctionTestEnvironmentConfig_Load
TestEnvironmentConfig_Load verifies the best-effort loading behavior The Load method should gracefully handle missing files while still failing on act
environment/config_test.go:16
FunctionTestEnvironmentConfig_PreservesShellOperators
TestEnvironmentConfig_PreservesShellOperators tests that shell operators like && are not escaped as unicode sequences when saving and loading configur
environment/config_test.go:114
FunctionTestEnvironmentConfigurationPersists
TestEnvironmentConfigurationPersists verifies configuration persistence
environment/integration/integration_test.go:402
FunctionTestEnvironmentIsolation
TestEnvironmentIsolation verifies that changes in one environment don't affect others
environment/integration/integration_test.go:63
FunctionTestEnvironmentSelection
TestEnvironmentSelection tests the environment selection logic
environment/integration/environment_selection_test.go:14
FunctionTestGitAuditTrail
TestGitAuditTrail verifies that all operations are tracked in git
environment/integration/integration_test.go:20
FunctionTestGitCommandErrors
Git command error handling ensures we gracefully handle git failures
repository/git_test.go:15
FunctionTestIsDockerDaemonError
(t *testing.T)
cmd/container-use/docker_errors_test.go:8
FunctionTestLargeProjectPerformance
Large project performance ensures the system scales to real-world codebases
environment/integration/integration_test.go:185
FunctionTestRepositoryApply
TestRepositoryApply tests applying an environment as staged changes (equivalent to merge --squash)
environment/integration/merge_test.go:65
FunctionTestRepositoryApplyNonExistent
TestRepositoryApplyNonExistent tests applying a non-existent environment
environment/integration/merge_test.go:142
FunctionTestRepositoryApplyWithConflicts
TestRepositoryApplyWithConflicts tests apply behavior when there are conflicts
environment/integration/merge_test.go:186
FunctionTestRepositoryCheckout
TestRepositoryCheckout tests checking out an environment branch
environment/integration/repository_test.go:108
FunctionTestRepositoryContention
(t *testing.T)
cmd/container-use/stdio_test.go:341
FunctionTestRepositoryCreate
TestRepositoryCreate tests creating a new environment
environment/integration/repository_test.go:16
FunctionTestRepositoryCreateFromGitRef
TestRepositoryCreateFromGitRef tests creating environments from specific git references
environment/integration/repository_test.go:172
FunctionTestRepositoryDelete
TestRepositoryDelete tests deleting an environment
environment/integration/repository_test.go:83
FunctionTestRepositoryDiff
TestRepositoryDiff tests retrieving changes between commits
environment/integration/repository_test.go:235
FunctionTestRepositoryGet
TestRepositoryGet tests retrieving an existing environment
environment/integration/repository_test.go:36
FunctionTestRepositoryList
TestRepositoryList tests listing all environments
environment/integration/repository_test.go:58
FunctionTestRepositoryLog
TestRepositoryLog tests retrieving commit history for an environment
environment/integration/repository_test.go:133
FunctionTestRepositoryMerge
TestRepositoryMerge tests merging an environment into the main branch
environment/integration/merge_test.go:17
FunctionTestRepositoryMergeCompleted
TestRepositoryMergeCompleted tests merging the same environment multiple times This should result in fast-forward merges since the main branch doesn't
environment/integration/merge_test.go:217
FunctionTestRepositoryMergeNonExistent
TestRepositoryMergeNonExistent tests merging a non-existent environment
environment/integration/merge_test.go:128
FunctionTestRepositoryMergeWithConflicts
TestRepositoryMergeWithConflicts tests merge behavior when there are conflicts
environment/integration/merge_test.go:156
FunctionTestRepositoryOpen
TestRepositoryOpen tests the Open function which initializes a Repository
repository/repository_test.go:15
FunctionTestResolveEnvironmentID
(t *testing.T)
cmd/container-use/env_selection_test.go:11
FunctionTestSelectiveFileStaging
Selective file staging ensures problematic files are automatically excluded from commits This tests the actual user-facing behavior: "I want to commit
repository/git_test.go:31
FunctionTestSingleTenantEnvironmentStorage
(t *testing.T)
mcpserver/singletenant_test.go:7
FunctionTestSingleTenantEnvironmentStorageEmpty
(t *testing.T)
mcpserver/singletenant_test.go:57
FunctionTestSingleTenantRepositoryContention
(t *testing.T)
cmd/container-use/stdio_test.go:369
FunctionTestSystemHandlesProblematicFiles
TestSystemHandlesProblematicFiles verifies edge cases don't break the system
environment/integration/integration_test.go:108
FunctionTestVersionCommand
(t *testing.T)
cmd/container-use/version_test.go:11
FunctionTestVersionParsing
(t *testing.T)
cmd/container-use/version_test.go:85
FunctionTestWeirdUserScenarios
TestWeirdUserScenarios verifies edge case handling
environment/integration/integration_test.go:258
FunctionTestWorktreeUpdatesAreVisibleAfterRebuild
TestWorktreeUpdatesAreVisibleAfterRebuild verifies file changes persist through rebuilds
environment/integration/integration_test.go:218
MethodUpdate
Update handles incoming messages and updates the model
cmd/container-use/agent/configure_ui.go:81
MethodView
View renders the interface
cmd/container-use/agent/configure_ui.go:109
MethodWithLock
WithLock executes a function while holding an exclusive lock for the specified lock type
repository/flock.go:78
MethodWithRLock
WithRLock executes a function while holding a shared (read) lock for the specified lock type. Multiple readers can hold the lock simultaneously, but w
repository/flock.go:84
MethodWriteSourceFile
--- Direct manipulation methods for edge case testing --- WriteSourceFile writes directly to the source repository
environment/integration/helpers.go:294
Methoddescription
Return a description of the agent
cmd/container-use/agent/configure_q.go:31
Methoddescription
Return a description of the agent
cmd/container-use/agent/configure_goose.go:33
Methoddescription
Return a description of the agent
cmd/container-use/agent/configure_codex.go:32
Methoddescription
()
cmd/container-use/agent/configure.go:67
Methoddescription
()
cmd/container-use/agent/configure_claude.go:40
Methoddescription
Return a description of the agent
cmd/container-use/agent/configure_cursor.go:30
MethodeditMcpConfig
Save the MCP config with container-use enabled
cmd/container-use/agent/configure_q.go:36
MethodeditMcpConfig
Save the MCP config with container-use enabled
cmd/container-use/agent/configure_goose.go:38
MethodeditMcpConfig
Save the MCP config with container-use enabled
cmd/container-use/agent/configure_codex.go:37
MethodeditMcpConfig
()
cmd/container-use/agent/configure_claude.go:44
MethodeditMcpConfig
Save the MCP config with container-use enabled
cmd/container-use/agent/configure_cursor.go:35
MethodeditRules
Save the agent rules with the container-use prompt
cmd/container-use/agent/configure_q.go:87
MethodeditRules
Save the agent rules with the container-use prompt
cmd/container-use/agent/configure_goose.go:113
MethodeditRules
Save the agent rules with the container-use prompt
cmd/container-use/agent/configure_codex.go:96
MethodeditRules
()
cmd/container-use/agent/configure_claude.go:104
MethodeditRules
Save the agent rules with the container-use prompt
cmd/container-use/agent/configure_cursor.go:84
FunctionexecDaggerRun
(daggerBin string, args []string, env []string)
cmd/container-use/terminal_windows.go:11
FunctiongetNotifySignals
getNotifySignals returns Windows-compatible signals for MCP server
mcpserver/signals_windows.go:11
FunctiongetNotifySignals
getNotifySignals returns Windows-compatible signals for receiving
cmd/container-use/signals_windows.go:11
Functioninit
init sets up logging for tests
environment/integration/helpers.go:25
Functioninit
()
cmd/container-use/inspect.go:46
Functioninit
()
cmd/container-use/apply.go:63
Functioninit
()
cmd/container-use/diff.go:46
Functioninit
()
cmd/container-use/completion_override.go:12
Functioninit
()
cmd/container-use/delete.go:80
Functioninit
()
cmd/container-use/watch_windows.go:152
← previousnext →201–300 of 323, ranked by callers