Shumoku Docs

ドキュメントを検索

共通文書と現行公開版

検索を読み込み中…

English

@shumoku/core · 0.4.0 · function

absenceImpliesRetraction

ソース

APIの説明は英語のcanonical sourceを表示しています。

True when absence in a snapshot should be treated as evidence (retract / mark stale). False when the snapshot 's absence is meaningless because the node was deliberately not asked. This is the *critical* anti-footgun call codex flagged: if we post-filter excluded nodes out of a NetBox snapshot whose status is `ok` (= absence trusted), the resolver would happily interpret the missing entry as "NetBox says it 's gone". We never want that.

absenceImpliesRetraction(policy: EffectiveDiscoveryPolicy): boolean

パラメーター

名前 説明 既定値
policy EffectiveDiscoveryPolicy 追加説明はありません。

戻り値

boolean

libs/@shumoku/core/src/observation/discovery-policy.ts:175