Skip to main content

Crate hdiff_update_core

Crate hdiff_update_core 

Source
Expand description

Core library for signed HDiffPatch-based differential application updates.

The crate contains manifest selection, Ed25519 signing and verification, hashing, downloads, and process wrappers for hdiffz and hpatchz. It does not bundle HDiffPatch binaries.

Structs§

ApplyDirectoryPatchOptions
Artifact
CreateDirectoryPatchOptions
DirectoryDelta
DirectoryPatchApplyResult
DirectoryPatchCreateResult
DirectoryPlatformRelease
DirectoryUpdateManifest
DirectoryUpdateTransaction
DownloadStats
FileDigest
FileTreeManifest
HttpHeader
ManifestSignature
PrepareDirectoryUpdateOptions
PreparedDirectoryUpdate
ToolOutput
TreeFile
TreeVerification
UpdateKeypair

Enums§

DirectoryTransactionState
DownloadEvent
Error
PreparedDirectoryUpdateKind

Constants§

DEFAULT_DIRECTORY_ALGORITHM
DIRECTORY_UPDATE_ALGORITHM
DIRECTORY_UPDATE_SCHEMA_VERSION
MANIFEST_SIGNATURE_ALGORITHM

Functions§

apply_directory_patch
build_file_tree_manifest
copy_managed_tree
create_directory_patch
default_platform
download_to_file
ensure_available_space
generate_update_keypair
inspect_diff
load_directory_update_manifest
normalize_managed_paths
normalize_relative_path
path_for_manifest_entry
prepare_directory_update
public_key_id
read_directory_manifest_file
read_directory_transaction
read_url_to_string
resolve_tool_path
sha256_bytes
sha256_file
sign_directory_manifest
validate_file_tree_manifest
validate_version_upgrade
verify_directory_manifest_signature
verify_directory_manifest_signature_with_keys
verify_file_tree
verify_sha256
write_directory_transaction
write_json_file_atomic

Type Aliases§

Result