+
+
-
diff --git a/git.idx b/git.idx
index 486b012..ae9f083 100644
--- a/git.idx
+++ b/git.idx
@@ -1,6 +1,7 @@
execAction git.html#execAction,string git: execAction(cmd: string; nostderr = false): string
-extractZip git.html#extractZip.m,, git: extractZip(zipfile, outdir: static string): untyped
-downloadUrl git.html#downloadUrl.m,, git: downloadUrl(url, outdir: static string): untyped
-gitReset git.html#gitReset.m, git: gitReset(outdir: static string): untyped
-gitCheckout git.html#gitCheckout.m,, git: gitCheckout(file, outdir: static string): untyped
-gitPull git.html#gitPull.m,,string,string,string git: gitPull(url: static string; outdirN = ""; plistN = ""; checkoutN = ""): untyped
+extractZip git.html#extractZip,string,string git: extractZip(zipfile, outdir: string)
+downloadUrl git.html#downloadUrl,string,string git: downloadUrl(url, outdir: string)
+gitReset git.html#gitReset,string git: gitReset(outdir: string)
+relativePathNaive git.html#relativePathNaive,string,string git: relativePathNaive(file, base: string): string
+gitCheckout git.html#gitCheckout,string,string git: gitCheckout(file, outdir: string)
+gitPull git.html#gitPull,string,string,string,string git: gitPull(url: string; outdir = ""; plist = ""; checkout = "")
diff --git a/paths.html b/paths.html
new file mode 100644
index 0000000..56fad4e
--- /dev/null
+++ b/paths.html
@@ -0,0 +1,1314 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
Macros
--
-
-
macro extractZip(zipfile, outdir: static string): untyped
+
+proc extractZip(zipfile, outdir: string) {...}{.raises: [OSError, Exception, ValueError], tags: [ + ExecIOEffect, ReadIOEffect, RootEffect].}
- - -
macro downloadUrl(url, outdir: static string): untyped
+
+proc downloadUrl(url, outdir: string) {...}{.raises: [OSError, Exception, ValueError], tags: [ + ReadDirEffect, ExecIOEffect, ReadIOEffect, RootEffect].}
- - -
macro gitReset(outdir: static string): untyped
+
+proc gitReset(outdir: string) {...}{.raises: [OSError, Exception], tags: [ExecIOEffect, + ReadIOEffect, RootEffect, TimeEffect].}
- - -
macro gitCheckout(file, outdir: static string): untyped
+
+proc relativePathNaive(file, base: string): string {...}{.raises: [], tags: [].}
+-
+naive version of os.relativePath ; remove after nim >= 0.19.9
+
Examples:
+doAssert "/foo/bar/baz/log.txt".relativePathNaive("/foo/bar") == "baz/log.txt"
+ +
+
+ proc gitCheckout(file, outdir: string) {...}{.raises: [OSError, Exception], tags: [ + ExecIOEffect, ReadIOEffect, RootEffect, TimeEffect].}
- - -
macro gitPull(url: static string; outdirN = ""; plistN = ""; checkoutN = ""): untyped
+
+proc gitPull(url: string; outdir = ""; plist = ""; checkout = "") {...}{. + raises: [OSError, Exception, IOError], tags: [ReadDirEffect, ExecIOEffect, + ReadIOEffect, RootEffect, TimeEffect, WriteIOEffect].}
- @@ -1324,7 +1340,7 @@ function main() {
+
+
+
+
diff --git a/paths.idx b/paths.idx
new file mode 100644
index 0000000..7239d08
--- /dev/null
+++ b/paths.idx
@@ -0,0 +1,5 @@
+nimteropRoot paths.html#nimteropRoot, paths: nimteropRoot(): string
+nimteropBuildDir paths.html#nimteropBuildDir, paths: nimteropBuildDir(): string
+nimteropSrcDir paths.html#nimteropSrcDir, paths: nimteropSrcDir(): string
+toastExePath paths.html#toastExePath, paths: toastExePath(): string
+incDir paths.html#incDir, paths: incDir(): string
diff --git a/plugin.html b/plugin.html
index d17a993..491c58a 100644
--- a/plugin.html
+++ b/plugin.html
@@ -1287,7 +1287,7 @@ function main() {
+
+paths
+
+
+
+
+
+
+
+ -
+
+ Search:
+
+
+ Group by:
+
+
+ -
+
-
+ Procs
+
-
+
nimterop Root
+ nimterop Build Dir
+ nimterop Src Dir
+ toast Exe Path
+ inc Dir
+
+
+
+
+
+
+
+
+
+
+ Procs
+-
+
+
proc nimteropRoot(): string {...}{.raises: [], tags: [].}
+- + + + + +
proc nimteropBuildDir(): string {...}{.raises: [], tags: [].}
+- +all nimterop generated files go under here (gitignored) + + + +
proc nimteropSrcDir(): string {...}{.raises: [], tags: [].}
+- + + + + +
proc toastExePath(): string {...}{.raises: [], tags: [].}
+- + + + + +
proc incDir(): string {...}{.raises: [], tags: [].}
+- + + + + +
+
+
+