Skip to main content

Module state

Module state 

Source

Structsยง

ImportState ๐Ÿ”’
ImportStateLockGuard ๐Ÿ”’
ImportTaskKey ๐Ÿ”’
ImportTaskState ๐Ÿ”’

Enumsยง

ImportTaskStatus ๐Ÿ”’

Constantsยง

IMPORT_STATE_DIR ๐Ÿ”’
IMPORT_STATE_ROOT ๐Ÿ”’

Staticsยง

IMPORT_STATE_TMP_ID ๐Ÿ”’

Functionsยง

canonical_schema_selection ๐Ÿ”’
default_home_dir_with ๐Ÿ”’
default_state_path ๐Ÿ”’
default_state_path_with ๐Ÿ”’
delete_import_state ๐Ÿ”’
import_identity_hash ๐Ÿ”’
FNV-1a over (catalog, schemas). The output is part of the persisted state filename, so we cannot use std::collections::hash_map::DefaultHasher - Rust does not guarantee its algorithm across releases, which would make a state file written by one toolchain undiscoverable by another.
import_state_file_name ๐Ÿ”’
import_state_lock_path ๐Ÿ”’
is_lock_contention ๐Ÿ”’
load_import_state ๐Ÿ”’
normalize_import_state_for_resume ๐Ÿ”’
save_import_state ๐Ÿ”’
Caller must hold the lock acquired via try_acquire_import_state_lock.
sync_parent_dir ๐Ÿ”’
try_acquire_import_state_lock ๐Ÿ”’
unique_tmp_path ๐Ÿ”’