Skip to content
ocx
install

CleanEntry

CleanEntryclassdataclass#

Re-exported from ocx_sdk._resultsView source
class CleanEntry(kind: str, dry_run: bool, path: str, held_by: tuple[str, ...])

One thing ocx clean removed, or would remove.

Attributes

NameTypeDescription
kindstr"object" for a store object, "temp" for a temp directory, or "consent" for a state/projects/<key>/ directory whose consent stamp was swept — the entry that revokes a project’s shell activation, which is why a preview names it. Raw str (D8).
dry_runboolWhether this was a preview.
pathstrWhat was (or would be) removed.
held_bytuple[str, ...]Project ocx.lock paths holding the entry; empty when no registered project protects it, or under --force.

dry_runattributeinstance attribute#

dry_run: bool

held_byattributeinstance attribute#

held_by: tuple[str, ...]

kindattributeinstance attribute#

kind: str

pathattributeinstance attribute#

path: str

from_dictmethodclassmethod#

def from_dict(data: Mapping[str, Any]) -> CleanEntry

Build from one decoded array entry.