From f5ad9af1fde15b479dd014ecb9a35248c3fc7406 Mon Sep 17 00:00:00 2001 From: = Date: Fri, 2 Jun 2023 09:54:03 +0000 Subject: [PATCH] update docs for goodbyeget --- goodbyeget/libp2p/protobuf/minprotobuf.html | 4 +- goodbyeget/libp2p/utility.html | 60 ++++++++++++++++----- goodbyeget/libp2p/varint.html | 2 +- 3 files changed, 50 insertions(+), 16 deletions(-) diff --git a/goodbyeget/libp2p/protobuf/minprotobuf.html b/goodbyeget/libp2p/protobuf/minprotobuf.html index 827dd04ae..6a175fef5 100644 --- a/goodbyeget/libp2p/protobuf/minprotobuf.html +++ b/goodbyeget/libp2p/protobuf/minprotobuf.html @@ -921,7 +921,7 @@ class="link-seesrc" target="_blank">Source

Exports

-compilesOr, exceptionToAssert, public, withValue, shortLog, safeConvert, shortLog +withValue, compilesOr, safeConvert, shortLog, toOpt, public, valueOr, shortLog, exceptionToAssert
@@ -931,7 +931,7 @@ class="link-seesrc" target="_blank">Source diff --git a/goodbyeget/libp2p/utility.html b/goodbyeget/libp2p/utility.html index e6ebf46d8..593d209ee 100644 --- a/goodbyeget/libp2p/utility.html +++ b/goodbyeget/libp2p/utility.html @@ -231,10 +231,20 @@ window.addEventListener("DOMContentLoaded", main2);
  • safeConvert[T: SomeInteger; S: Ordinal](value: S): T
  • + + + @@ -262,9 +272,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -274,9 +284,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -291,9 +301,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -315,9 +325,9 @@ class="link-seesrc" target="_blank">Source   Source -  Edit +  Edit @@ -333,8 +343,32 @@ class="link-seesrc" target="_blank">Source -
    -
    template withValue[T](self: Opt[T]; value, body): untyped
    +
    +
    template toOpt[T, E](self: Result[T, E]): Opt[T]
    +
    + + +  Source +  Edit + +
    +
    +
    +
    template valueOr[T](self: Option[T]; body: untyped): untyped
    +
    + + +  Source +  Edit + +
    +
    +
    +
    template withValue[T](self: Opt[T] | Option[T]; value, body: untyped): untyped
    @@ -355,7 +389,7 @@ class="link-seesrc" target="_blank">Source
    diff --git a/goodbyeget/libp2p/varint.html b/goodbyeget/libp2p/varint.html index ece0bc17b..b80b471d4 100644 --- a/goodbyeget/libp2p/varint.html +++ b/goodbyeget/libp2p/varint.html @@ -725,7 +725,7 @@ class="link-seesrc" target="_blank">Source