keystore? exported
This commit is contained in:
@@ -26,6 +26,7 @@
|
|||||||
ks-end-transaction
|
ks-end-transaction
|
||||||
ks-abort-transaction
|
ks-abort-transaction
|
||||||
ks-with-lock
|
ks-with-lock
|
||||||
|
keystore?
|
||||||
)
|
)
|
||||||
|
|
||||||
(define (any? a) #t)
|
(define (any? a) #t)
|
||||||
|
|||||||
@@ -36,6 +36,16 @@ The @tt{keystore?} predicate is altered to also check if the
|
|||||||
database connection is (still) valid.
|
database connection is (still) valid.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@defproc[(keystore? [ks any/c]) boolean?]{
|
||||||
|
|
||||||
|
Returns #t, if ks is a valid keystore.
|
||||||
|
Returns #f, otherwise.
|
||||||
|
|
||||||
|
Note. When a previously opened keystore (which is valid), is closed with @tt{ks-close},
|
||||||
|
keystore? will return #f, because the keystore is not valid anymore.
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@section{Opening & Closing}
|
@section{Opening & Closing}
|
||||||
|
|
||||||
@defproc[(ks-open [file (or/c path? string? symbol?)]) keystore?]{
|
@defproc[(ks-open [file (or/c path? string? symbol?)]) keystore?]{
|
||||||
|
|||||||
Reference in New Issue
Block a user