Skip to main content

Crate gen_core

Crate gen_core 

Source

Re-exports§

pub use config::Workspace;
pub use path::PathBlock;
pub use strand::Strand;

Modules§

config
errors
gen_core_capnp
generated
path
range
region
strand
traits

Structs§

BranchName
CommitRef
DoltHashId
HashId
A 128-bit Gen domain identifier, normally derived with XXH3-128.
NodeIntervalBlock
Sha256Hash
A 256-bit SHA-256 content hash used for sequences and file checksums.

Constants§

DOLT_HASH_SIZE
Number of bytes in a native Dolt commit hash.
HASH_ID_SIZE
Number of bytes in a Gen domain identifier.
PATH_END_NODE_ID
PATH_END_SEQUENCE_HASH
PATH_START_NODE_ID
PATH_START_SEQUENCE_HASH
SHA256_HASH_SIZE
Number of bytes in a SHA-256 content hash.

Statics§

INDETERMINATE_CHROMOSOME_INDEX
NO_CHROMOSOME_INDEX
PRESERVE_EDIT_SITE_CHROMOSOME_INDEX

Functions§

calculate_hash
Calculates a 128-bit XXH3 Gen domain identifier.
calculate_sha256
Calculates a SHA-256 content hash.
is_end_node
is_start_node
is_terminal