git

Procs

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