I/O & Encoding

PyStat

Python stdlib module — stat. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.S_IFMT()Neutral
#
Signature
S_IFMT()

Return the portion of the file's mode that describes the file type.

.S_IMODE()Neutral
#
Signature
S_IMODE()

Return the portion of the file's mode that can be set by os.chmod().

.S_ISBLK()Neutral
#
Signature
S_ISBLK()

S_ISBLK(mode) -> bool

.S_ISCHR()Neutral
#
Signature
S_ISCHR()

S_ISCHR(mode) -> bool

.S_ISDIR()Neutral
#
Signature
S_ISDIR()

S_ISDIR(mode) -> bool

.S_ISDOOR()Neutral
#
Signature
S_ISDOOR()

S_ISDOOR(mode) -> bool

.S_ISFIFO()Neutral
#
Signature
S_ISFIFO()

S_ISFIFO(mode) -> bool

.S_ISLNK()Neutral
#
Signature
S_ISLNK()

S_ISLNK(mode) -> bool

.S_ISPORT()Neutral
#
Signature
S_ISPORT()

S_ISPORT(mode) -> bool

.S_ISREG()Neutral
#
Signature
S_ISREG()

S_ISREG(mode) -> bool

Fully-Qualified Names

FQNField
statfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import stat