MCPcopy Create free account
hub / github.com/dropbox/dbxcli / currentContext

Function currentContext

cmd/root.go:60–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58var commandContextCancel context.CancelFunc
59
60func currentContext() context.Context {
61 if commandContext == nil {
62 return context.Background()
63 }
64 return commandContext
65}
66
67func initCommandContext(cmd *cobra.Command) error {
68 finishCommandContext()

Callers 15

cpFunction · 0.85
accountFunction · 0.85
listTeamMembersFunction · 0.85
uploadOneChunkFunction · 0.85
uploadSingleShotFunction · 0.85
uploadChunkedFunction · 0.85
resolveDestinationFunction · 0.85
getDestinationMetadataFunction · 0.85
putDirectoryFunction · 0.85
putDirectoryWithResultFunction · 0.85
mkdirFunction · 0.85
existingFolderMetadataFunction · 0.85

Calls

no outgoing calls