I/O & Encoding

PyFilecmp

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

Other Methods

.clear_cache()Neutral
#
Signature
clear_cache()

Clear the filecmp cache.

.cmp()Neutral
#
Signature
cmp(f1, f2, shallow)

Compare two files.

.cmpfiles()Neutral
#
Signature
cmpfiles(a, b, common, shallow)

Compare common files in two directories.

.demo()Neutral
#
Signature
demo()

demo function.

.GenericAlias()Neutral
#
Signature
GenericAlias(...)

Represent a PEP 585 generic type

.dircmp()Neutral
#
Signature
dircmp(...)

A class that manages the comparison of 2 directories.

.filterfalse()Neutral
#
Signature
filterfalse(...)

Return those items of iterable for which function(item) is false.

Fully-Qualified Names

FQNField
filecmpfqns[0]

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

Import

rule.py
import filecmp