Python stdlib module — posixpath. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.commonpath()Neutralcommonpath(paths)
Given a sequence of path names, returns the longest common sub-path.
.commonprefix()Neutralcommonprefix(m)
Given a list of pathnames, returns the longest common leading component
.exists()Neutralexists(path)
Test whether a path exists. Returns False for broken symbolic links
.expanduser()Neutralexpanduser(path)
Expand ~ and ~user constructions. If user or $HOME is unknown,
.expandvars()Neutralexpandvars(path)
Expand shell variables of form $var and ${var}. Unknown variables
.getatime()Neutralgetatime(filename)
Return the last access time of a file, reported by os.stat().
.getctime()Neutralgetctime(filename)
Return the metadata change time of a file, reported by os.stat().
| FQN | Field | |
|---|---|---|
| posixpath | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import posixpath