backends.content_state()

The part of a state that identifies the data: the state minus

Usage

Source

backends.content_state(
    backend,
    state,
)

backend.VOLATILE_KEYS.

Everything that asks “is this the same thing?” – drift detection, the unchanged check in commit, pin ids, listing names, export hashes, promote’s fork-point comparison – goes through this. Everything that asks “where is it?” (open, pin, verify) uses the full state.