Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tox-dev/filelock
/ _initialize_protocol
Function
_initialize_protocol
tests/test_strict_soft_failures.py:954–956 ·
view source on GitHub ↗
(lock_path: Path)
Source
from the content-addressed store, hash-verified
952
953
954
def
_initialize_protocol(lock_path: Path) -> None:
955
with
StrictSoftFileLock(lock_path):
956
pass
957
958
959
def
_private_claim_path(lock_path: Path, token: str) -> Path:
Callers
15
test_strict_soft_intent_token_collision_does_not_claim_lock
Function · 0.70
test_strict_soft_held_publication_failure_rolls_back_intent
Function · 0.70
test_strict_soft_held_collision_does_not_delete_foreign_claim
Function · 0.70
test_strict_soft_force_break_during_doorway_backs_off
Function · 0.70
test_strict_soft_force_break_held_during_doorway_backs_off
Function · 0.70
test_strict_soft_reaper_removes_private_before_publication
Function · 0.70
test_strict_soft_reaper_removes_private_after_publication
Function · 0.70
test_strict_soft_reaper_replacement_only_aborts_publisher
Function · 0.70
test_strict_soft_private_close_failure_leaves_public_claim
Function · 0.70
test_strict_soft_link_and_directory_close_failures_preserve_both
Function · 0.70
test_strict_soft_held_directory_close_failure_leaves_both_claims
Function · 0.70
test_strict_soft_reaper_leaves_non_regular_private_node
Function · 0.70
Calls
1
StrictSoftFileLock
Class · 0.90
Tested by
no test coverage detected