mirror of
https://github.com/daylinmorgan/oizys.git
synced 2025-02-05 13:14:17 -06:00
semantics
This commit is contained in:
parent
31a803d403
commit
0d62fcbd43
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ proc hasNarinfo*(cache: string, path: string): Opt[string] =
|
|||
finally:
|
||||
client.close()
|
||||
|
||||
proc showNarInfo(s: string): BbString =
|
||||
proc fmtNarinfo(s: string): BbString =
|
||||
let maxWidth = terminalWidth()
|
||||
result.add "narinfo:"
|
||||
for line in s.splitLines():
|
||||
|
@ -76,7 +76,7 @@ proc searchCaches(caches: seq[string], path: string): bool =
|
|||
case hasNarinfo(cache, path):
|
||||
of Some(narinfo):
|
||||
info fmt"exists in {cache}"
|
||||
debug showNarinfo(narinfo)
|
||||
debug fmtNarinfo(narinfo)
|
||||
of None: discard
|
||||
|
||||
proc checkForCache*(installables: seq[string], caches: seq[string]) =
|
||||
|
|
Loading…
Reference in a new issue