MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / zip

Function zip

deploy.py:57–60  ·  view source on GitHub ↗
(src, dst)

Source from the content-addressed store, hash-verified

55 os.rename (target_rc_path, source_rc_path)
56
57def zip(src, dst):
58 zf = zipfile.ZipFile(dst, "w", zipfile.ZIP_DEFLATED)
59 zf.write(src, os.path.basename(src))
60 zf.close()
61
62parser = argparse.ArgumentParser()
63parser.add_argument('--new-minor', action="store_true", dest="new_minor", help="Deploy new minor version", default=False)

Callers 1

deploy.pyFile · 0.85

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected