package octez-shell-libs
Octez shell libraries
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/octez-shell-libs.client-base-unix/Tezos_client_base_unix/Client_context_unix/class-unix_wallet/index.html
Class Client_context_unix.unix_wallet
Source
method read_file : string -> string Tezos_base.TzPervasives.tzresult Lwt.t
read_file path
reads the content of the file given by path
. Note that the whole content of the file is loaded into memory: you shouldn't read big files using this method. Errors that may be returned are implementation-dependent.
with_lock f
calls f ()
exclusively from any other function that is wrapped within with_lock
.
method load : string ->
default:'a ->
'a Tezos_base.TzPervasives.Data_encoding.encoding ->
'a Tezos_base.TzPervasives.tzresult Lwt.t
load alias ~default enc
reads the file corresponding to the alias
, and parses using encoding
. If the file does not exist, then default
is returned.
method write : string ->
'a ->
'a Tezos_base.TzPervasives.Data_encoding.encoding ->
unit Tezos_base.TzPervasives.tzresult Lwt.t
write alias x encoding
writes in a file corresponding to the alias
the information given by x
using the encoding
.
method last_modification_time : string ->
float option Tezos_base.TzPervasives.tzresult Lwt.t
last_modification_time alias
returns the last modification time of the file corresponding to the alias
, if the file exists; otherwise None
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>