MCPcopy Create free account
hub / github.com/OpenAtomFoundation/pikiwidb / CodisFE

Class CodisFE

codis/example/fe.py:10–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9
10class CodisFE(Process):
11
12 def __init__(self, port, assets):
13 self.port = port
14
15 self.logfile = "fe-{}.log".format(port)
16 self.command = "codis-fe --filesystem rootfs --listen 0.0.0.0:{} --assets-dir={}".format(self.port, assets)
17 Process.__init__(self, self.command, self.logfile)
18
19 dict = {"pid": self.proc.pid, "assets": assets}
20 print(" >> codis.fe = " + json.dumps(dict, sort_keys=True))
21
22
23if __name__ == "__main__":

Callers 2

fe.pyFile · 0.85
setup.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected