MCPcopy Create free account
hub / github.com/aaPanel/BaoTa / php_site_list

Method php_site_list

mod/project/node/nodeMod.py:422–435  ·  view source on GitHub ↗

@route /mod/node/node/php_site_list @return: [ { "site_id": int, "site_name": str, "ports": []int, "domains": []str, "ssl":bool } ]

(get)

Source from the content-addressed store, hash-verified

420
421 @staticmethod
422 def php_site_list(get):
423 """
424 @route /mod/node/node/php_site_list
425 @return: [
426 {
427 "site_id": int,
428 "site_name": str,
429 "ports": []int,
430 "domains": []str,
431 "ssl":bool
432 }
433 ]
434 """
435 return LocalNode().php_site_list()[0]
436
437 def node_used_status(self, get):
438 if os.path.exists(self.tip_file):

Callers 1

get_node_sitesMethod · 0.45

Calls 1

LocalNodeClass · 0.90

Tested by

no test coverage detected