MCPcopy
hub / github.com/direnv/direnv / Diff

Method Diff

internal/cmd/env.go:102–104  ·  view source on GitHub ↗

Diff returns the diff between the current env and the passed env

(other Env)

Source from the content-addressed store, hash-verified

100
101// Diff returns the diff between the current env and the passed env
102func (env Env) Diff(other Env) *EnvDiff {
103 return BuildEnvDiff(env, other)
104}
105
106// Fetch tries to get the value associated with the given 'key', or returns
107// the provided default if none is set.

Callers 3

exportCommandFunction · 0.95
cmdApplyDumpActionFunction · 0.80
LoadMethod · 0.80

Calls 1

BuildEnvDiffFunction · 0.85

Tested by

no test coverage detected