MCPcopy Create free account
hub / github.com/BrettMayson/Arma3Server / copy

Function copy

keys.py:6–13  ·  view source on GitHub ↗
(moddir)

Source from the content-addressed store, hash-verified

4
5
6def copy(moddir):
7 keys = glob.glob(os.path.join(moddir, "**/*.bikey"))
8 if len(keys) > 0:
9 for key in keys:
10 if not os.path.isdir(key):
11 shutil.copy2(key, "/arma3/server/keys")
12 else:
13 print("Missing keys:", moddir)
14
15
16if __name__ == "__main__":

Callers 1

keys.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected