bsie.extractor.generic.stat module#

Extract information from the file system, such as filesize.

class bsie.extractor.generic.stat.Stat#

Bases: Extractor

Extract information from the file system.

CONTENT_READER: str | None = 'bsie.reader.stat.Stat'#
extract(subject: Node, content: stat_result, principals: Iterable[Predicate]) Iterator[Tuple[Node, Predicate, Any]]#

Return (node, predicate, value) triples.