LibraLibra
LibraLibra
DocsBlogLibra
Getting Started
Architecture
Design
Commands
libra addlibra agentlibra alternateslibra applylibra archivelibra authlibra automationlibra bisectlibra blamelibra branchlibra bundlelibra cachelibra cat-filelibra check-attrlibra check-ignorelibra check-mailmaplibra checkoutlibra cherry-picklibra cleanlibra clonelibra cloudlibra code-controllibra codelibra commit-treelibra commitlibra completionslibra configlibra credentiallibra depslibra describelibra diff-fileslibra diff-indexlibra diff-treelibra difflibra dirtylibra fast-exportlibra fast-importlibra fetchlibra filelibra for-each-reflibra format-patchlibra fscklibra gclibra graphlibra greplibra hash-objectlibra hookslibra hydratelibra index-packlibra initlibra investigatelibra layerlibra lfslibra loglibra logfilelibra loginlibra logoutlibra ls-fileslibra ls-remotelibra ls-treelibra maintenancelibra medialibra merge-baselibra merge-filelibra mergelibra metadatalibra mvlibra noteslibra oplibra openlibra pack-objectslibra packagelibra prunelibra publishlibra pulllibra pushlibra read-treelibra rebaselibra refloglibra remotelibra repacklibra replacelibra rererelibra resetlibra restorelibra rev-listlibra rev-parselibra revertlibra reviewlibra revisionlibra rmlibra sandboxlibra servicelibra shortloglibra show-reflibra showlibra sparse-viewlibra stashlibra statslibra statuslibra switchlibra symbolic-reflibra taglibra update-indexlibra update-reflibra usagelibra verify-packlibra whoamilibra worktreelibra write-tree
API Reference
Policy
Commands

libra hydrate

Command reference for `libra hydrate`

libra hydrate <path>... materializes working-tree content on demand (lore.md 3.3). It is the honest, platform-portable v1 of Lore's "hydrating VFS": an EXPLICIT command, not a transparent FUSE-on-access filesystem (that remains a worktree-fuse follow-up). Whole-object only — no FastCDC range.

Compatibility

  • Level: intentionally-different (Git has no hydrate/VFS surface).

Design

For each requested path (and, by default, its transitive forward dependencies via the 3.1 dependency graph), hydrate resolves the blob local → alternate (2.3) → remote durable tier and writes it into the working tree. The read policy is honored for free (--offline/--local refuse a remote fetch).

Failure-recovery contract

Each blob is OID-verified on a borrowed/remote hit (and, with --verify, re-hashed on the local path — healing from the durable tier on a mismatch), then published via an atomic temp-file + rename. A hydration that fails for ANY reason — object missing everywhere, remote unreachable, transport error, verify mismatch, interruption — leaves the pre-existing worktree file UNTOUCHED and never a truncated or half-written file.

Sparse gating

An active sparse view (2.2) gates the FULL hydration set — both the requested roots AND their pulled-in dependencies — so a dependency edge can never bypass a view set to avoid materializing large out-of-view assets. --ignore-sparse overrides.

Examples

libra hydrate scene.usd                 # materialize scene.usd + its deps
libra hydrate scene.usd --no-deps       # just this file
libra hydrate assets/ --depth-limit 2   # bound the dependency closure
libra hydrate big.bin --verify          # re-hash the payload before landing
libra hydrate a b --dry-run             # report what would hydrate
libra hydrate x --ignore-sparse         # hydrate an out-of-view path

Deferred (not v1)

LFS-pointer blobs (their download path is not yet atomic — skipped cleanly), symlink/gitlink entries, transparent FUSE on-access hydration, FastCDC and byte-range hydration. Cross-machine dependency expansion now works once the graph is fetched via 3.2's libra fetch --notes / libra pull --notes from a local Libra source (network / foreign-Git travel is deferred, D17).

libra hooks

Command reference for `libra hooks`

libra index-pack

Command reference for `libra index-pack`

On this page

CompatibilityDesignFailure-recovery contractSparse gatingExamplesDeferred (not v1)