MCPcopy Create free account
hub / github.com/apache/httpd / has_nghttp_get_assets

Method has_nghttp_get_assets

test/pyhttpd/env.py:540–548  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

538 return self._nghttp != ""
539
540 def has_nghttp_get_assets(self):
541 if not self.has_nghttp():
542 return False
543 args = [self._nghttp, "-a"]
544 p = subprocess.run(args, stderr=subprocess.PIPE, stdout=subprocess.PIPE)
545 rv = p.returncode
546 if rv != 0:
547 return False
548 return p.stderr == ""
549
550 def get_apxs_var(self, name: str) -> str:
551 p = subprocess.run([self._apxs, "-q", name], capture_output=True, text=True)

Callers

nothing calls this directly

Calls 2

has_nghttpMethod · 0.95
runMethod · 0.45

Tested by

no test coverage detected