MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / main

Function main

core/daemon.py:726–733  ·  view source on GitHub ↗

Main entry point for daemon.

()

Source from the content-addressed store, hash-verified

724# ==================== Entry Point ====================
725
726def main():
727 """Main entry point for daemon."""
728 if check_pid_file():
729 error("Daemon is already running")
730 sys.exit(1)
731
732 daemon = Daemon()
733 daemon.run()
734
735
736if __name__ == "__main__":

Callers 1

daemon.pyFile · 0.70

Calls 4

runMethod · 0.95
errorFunction · 0.90
check_pid_fileFunction · 0.85
DaemonClass · 0.85

Tested by

no test coverage detected