flakeheaven._logic._snapshot¶
- class flakeheaven._logic._snapshot.Snapshot(*, cache_path: pathlib.Path, file_path: pathlib.Path)[source]¶
Bases:
object
- _digest: Optional[str] = None¶
- _exists: Optional[bool] = None¶
- _results = None¶
- classmethod create(checker: flake8.checker.FileChecker, options: flake8.options.manager.OptionManager) flakeheaven._logic._snapshot.Snapshot [source]¶
- property digest: Optional[str]¶
Get hex digest for the current content of the file
- property results¶
returns cached checks results for the given file