MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _syscmd_file

Function _syscmd_file

Lib/platform.py:1018–1063  ·  view source on GitHub ↗

Interface to the system's file command. The function uses the -b option of the file command to have it ommit the filename in its output and if possible the -L option to have the command follow symlinks. It returns default in case the command should fail.

(target,default='')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

architectureFunction · 0.85

Calls 3

communicateMethod · 0.95
waitMethod · 0.95
_follow_symlinksFunction · 0.85

Tested by

no test coverage detected