()
| 231 | util.mod_log("[+] Extracting the source code to: " + target_dir, util.OKCYAN) |
| 232 | |
| 233 | def is_running_in_docker(): |
| 234 | return os.path.exists('/.dockerenv') or ( |
| 235 | os.path.isfile('/proc/1/cgroup') and 'docker' in open('/proc/1/cgroup').read() |
| 236 | ) |
| 237 | |
| 238 | is_windows = os.name == "nt" |
| 239 | in_docker = is_running_in_docker() |
nothing calls this directly
no outgoing calls
no test coverage detected