MCPcopy Index your code
hub / github.com/dagger/dagger / Get

Method Get

cmd/dagger/shell_state.go:93–98  ·  view source on GitHub ↗

Get returns a state instance by key.

(key string)

Source from the content-addressed store, hash-verified

91
92// Get returns a state instance by key.
93func (s *ShellStateStore) Get(key string) (ShellState, bool) {
94 s.mu.RLock()
95 defer s.mu.RUnlock()
96 st, exists := s.data[key]
97 return st, exists
98}
99
100// Delete removes a state instance by key.
101//

Callers 1

LoadMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected