Python stdlib module — ntpath. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.abspath()Neutralabspath(path)
Return the absolute version of a path as a fallback function in case
.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
.expandvars()Neutralexpandvars(path)
Expand shell variables of the forms $var, ${var} and %var%.
.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 | |
|---|---|---|
| ntpath | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
import ntpath