git

Procs

proc execAction(cmd: string; nostderr = false): string {...}{.
    raises: [OSError, Exception, ValueError, IOError, Defect],
    tags: [ExecIOEffect, ReadIOEffect, RootEffect].}
proc mkDir(dir: string) {...}{.raises: [OSError, Exception, ValueError, IOError, Defect], tags: [
    ReadDirEffect, ExecIOEffect, ReadIOEffect, RootEffect].}
proc cpFile(source, dest: string; move = false) {...}{.
    raises: [OSError, Exception, ValueError, IOError, Defect],
    tags: [ExecIOEffect, ReadIOEffect, RootEffect].}
proc mvFile(source, dest: string) {...}{.raises: [OSError, Exception, ValueError, IOError,
                                        Defect],
                                tags: [ExecIOEffect, ReadIOEffect, RootEffect].}
proc extractZip(zipfile, outdir: string) {...}{.raises: [OSError, Exception, ValueError,
    IOError, Defect], tags: [ExecIOEffect, ReadIOEffect, RootEffect].}
proc downloadUrl(url, outdir: string) {...}{.raises: [OSError, Exception, ValueError,
    IOError, Defect], tags: [ReadDirEffect, ExecIOEffect, ReadIOEffect, RootEffect].}
proc gitReset(outdir: string) {...}{.raises: [ValueError, OSError, Exception, IOError, Defect], tags: [
    ExecIOEffect, ReadIOEffect, RootEffect, TimeEffect].}
proc gitCheckout(file, outdir: string) {...}{.raises: [ValueError, OSError, Exception,
    IOError, Defect], tags: [ExecIOEffect, ReadIOEffect, RootEffect, TimeEffect].}
proc gitPull(url: string; outdir = ""; plist = ""; checkout = "") {...}{.
    raises: [ValueError, OSError, Exception, IOError, Defect], tags: [ReadDirEffect,
    ExecIOEffect, ReadIOEffect, RootEffect, TimeEffect, WriteIOEffect].}