Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tox-dev/filelock
/ functions
Functions
3,548 in github.com/tox-dev/filelock
⨍
Functions
3,548
◇
Types & classes
212
↳
Endpoints
35
Function
read_compromise
()
tests/soft/test_lease.py:235
Function
read_fd_info
(path: Path)
tests/conftest.py:279
Function
read_from_thread
()
tests/core/test_singleton.py:36
Function
read_next
(generation: int)
tests/soft/read_write/test_generations.py:160
Function
read_proc
(path: Path, **_: str | None)
tests/conftest.py:257
Function
read_the_claim_then_interrupt
(path: str)
tests/soft/exclusive/test_recovery_claim.py:384
Function
read_then_peer_recreates
(fd: int, length: int)
tests/filesystem/test_exchange.py:136
Function
read_then_sleep_through_a_heartbeat
(path: str)
tests/soft/read_write/test_sweep.py:225
Function
read_unless_claimed
(path: str)
tests/soft/exclusive/test_recovery_claim.py:226
Function
readonly_marker
(tmp_path: Path)
tests/filesystem/test_files.py:139
Function
reap_after_link
( source: PathValue, destination: PathValue, *, src_dir_fd: int | None = None,
tests/soft/strict/test_publication_races.py:190
Function
reap_before_link
( source: PathValue, destination: PathValue, *, src_dir_fd: int | None = None,
tests/soft/strict/test_publication_races.py:156
Method
reason
The protocol validation failure.
src/filelock/_core/_errors.py:125
Function
reclaim_on_close
(fd: int)
tests/soft/strict/test_publication_rollback.py:153
Function
reclaim_then_fail
(_fd: int, _path: str)
tests/soft/strict/test_windows_publication.py:230
Function
record_close
(fd: int)
tests/core/test_shutdown.py:276
Function
record_the_placeholder
(source: str, target: str)
tests/filesystem/test_exchange_recovery.py:174
Function
recursive_lock
(lock_file: str, mode: Literal["read", "write"], success_flag: Synchronized[int])
tests/sqlite/test_lock.py:178
Function
reenter
(_canonical: str, *, timeout: float, blocking: bool)
tests/core/test_interruption.py:289
Function
reenter
()
tests/soft/strict/test_release_observers.py:38
Function
refresh_an_hour_behind
()
tests/soft/test_lease_settings.py:159
Function
refuse
()
tests/soft/strict/test_release_interruption.py:59
Function
refuse
()
tests/soft/strict/test_release_observers.py:76
Function
refuse_pin
( path: str, access: int, attributes: int, share: int, disposition: in
tests/soft/strict/test_windows_publication.py:39
Function
refuse_the_break_name
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/exclusive/test_recovery_takeover.py:336
Function
refuse_while_open
(path: Path, missing_ok: bool = False)
tests/soft/exclusive/test_publication_cleanup.py:208
Function
refuse_while_open_and_successor_replaces
(path: Path, missing_ok: bool = False)
tests/soft/exclusive/test_publication_cleanup.py:227
Function
refuse_worker
(thread: threading.Thread)
tests/soft/strict/test_windows_withdrawal.py:175
Function
refuse_write
(_fd: int, _data: bytes)
tests/native/test_unix_probe.py:197
Function
refused
(_database: str, **_kwargs: float | type[sqlite3.Connection])
tests/sqlite/test_lock.py:63
Function
reject_publication
(source: PathValue, _destination: PathValue, **_options: int | bool | None)
tests/soft/strict/test_sentinel.py:101
Function
release_after_descriptor
( context: FileLockContext, name: str, value: object, # simplint: ignore[imprecise-an
tests/soft/exclusive/test_publication_cleanup.py:178
Function
release_after_reentry
(*_args: object)
tests/core/test_release_interruption.py:59
Function
release_child
()
tests/core/test_fork_ownership.py:86
Function
release_from_another_thread
()
tests/core/test_admission.py:120
Function
release_in_handler
(_signum: int, _frame: FrameType | None)
tests/soft/exclusive/test_publication_cleanup.py:143
Function
release_mid_read
(fd: int, length: int)
tests/soft/strict/test_scan.py:202
Function
release_on_acquire
(record: logging.LogRecord)
tests/soft/strict/test_release_interruption.py:155
Function
release_the_claim
(_: LeaseCompromise)
tests/soft/test_lease_release.py:264
Function
release_then_interrupt
(*, force: bool)
tests/core/test_fork_backends.py:73
Function
release_then_interrupt
(*, force: bool)
tests/core/test_release_interruption.py:92
Function
relink_then_connect
( path: str, *, check_same_thread: bool, factory: type[sqlite3.Connection],
tests/sqlite/test_connection_side_files.py:147
Function
remove_before_cleanup
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_claims.py:222
Function
remove_before_create
(files: OsFiles, path: str, data: bytes, *, durable: bool = False)
tests/soft/read_write/test_lock_recovery.py:185
Function
remove_before_head
(path: str, temporary: str, data: bytes)
tests/soft/read_write/test_generations_publication.py:273
Function
remove_before_inspection
( directory_ref: tuple[str, int | None], name: str, now: Callable[[], float | None] )
tests/soft/strict/test_windows.py:229
Function
remove_before_link
(files: OsFiles, source: str, target: str)
tests/soft/read_write/test_lock_recovery.py:155
Function
remove_before_unlink
(path: Path, *, missing_ok: bool = False)
tests/soft/exclusive/test_publication_cleanup.py:63
Function
remove_once_blocked
(participant: Participant)
tests/soft/read_write/test_lock_recovery.py:206
Function
remove_then_connect
( target: str, *, check_same_thread: bool, factory: type[sqlit
tests/sqlite/test_links.py:96
Function
removed
( directory: Path, name: str, *, claim_fd: int | None = None, cancel_w
tests/soft/strict/test_windows.py:253
Function
rename_then_fail
(source: str, target: str, **dir_fds: int | None)
tests/soft/read_write/test_storage.py:179
Function
rename_then_interrupt
(path: Path, target: str | Path)
tests/soft/exclusive/test_recovery_claim.py:380
Function
rename_then_third_creates
(source: Path, target: str)
tests/filesystem/test_exchange.py:208
Function
rename_unless_returning
(path: Path, target: str | Path)
tests/soft/exclusive/test_recovery_claim.py:207
Function
replace_after_open
(path: str, flags: int, mode: int)
tests/native/test_unix_probe.py:114
Function
replace_and_link
(source: str, destination: Path, *, follow_symlinks: bool)
tests/sqlite/test_links.py:186
Function
replace_before_exchange
(source: str, target: str)
tests/filesystem/test_exchange.py:113
Function
replace_before_open
( path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | Non
tests/soft/strict/test_claims.py:135
Function
replace_instead_of_unlink
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_publication_races.py:225
Function
replace_the_missing_break_name
(path: str, *, dir_fd: int | None = None)
tests/soft/exclusive/test_recovery_exchange.py:224
Function
replace_then_connect
( path: str, *, check_same_thread: bool, factory: type[sqlite3.Connection],
tests/sqlite/test_connection_side_files.py:208
Function
replace_with_same_mtime
(lock: Path)
tests/filesystem/conftest.py:27
Function
reset_before_compaction
(path: str, *, witness: str | None = None)
tests/soft/read_write/test_generations_publication.py:75
Function
reset_child
()
tests/core/test_fork_registries.py:49
Function
reset_then_create
(path: str, data: bytes, *, durable: bool = False)
tests/soft/read_write/test_generations_publication.py:193
Function
reset_then_link
(source: str, target: str)
tests/soft/read_write/test_generations_publication.py:214
Method
resolve_xref
( self, env: BuildEnvironment, fromdocname: str, builder: Buil
docs/conf.py:122
Function
restore
(fd: int)
tests/soft/test_lease_release.py:165
Function
restricted_creation_modes
(tmp_path: Path, mocker: MockerFixture)
tests/native/test_unix_probe.py:303
Function
resume_owner
()
tests/soft/strict/test_release_wait.py:46
Function
retire_winner
( directory: Path, name: str, *, claim_fd: int | None = None, cancel_w
tests/soft/strict/test_windows_withdrawal.py:51
Function
rival_recovers
()
tests/soft/exclusive/test_recovery_claim.py:41
Function
rival_scans_after_the_claim_rename
(path: Path, target: str | Path)
tests/soft/exclusive/test_recovery_claim.py:291
Function
rollback
(real_connection: sqlite3.Connection)
tests/sqlite/test_async_cancellation.py:281
Function
rollback
(real_connection: sqlite3.Connection)
tests/sqlite/async_helpers.py:51
Function
rollback
(connection: ForkSafeConnection)
tests/sqlite/test_transactions_release.py:58
Function
root
(lock_file: str)
tests/soft/read_write/conftest.py:49
Function
rotate_after_open
(path: str, flags: int, *, dir_fd: int | None = None)
tests/soft/read_write/test_storage.py:111
Function
run
()
src/filelock/_async_lock/_executor.py:133
Method
run
(self)
src/filelock/_soft/_lease.py:360
Method
run
(self)
src/filelock/_soft/_read_write/_heartbeat.py:33
Function
schedule
(lock: Path, action: Callable[[], None])
tests/conftest.py:159
Function
schedule
(mocker: MockerFixture)
tests/async_lock/test_finalization.py:240
Function
setprofile_again
(event: str, _args: Unused)
tasks/capabilities.py:227
Function
settle
(call: asyncio.Future[BackendOutcome[_T]])
src/filelock/_async_lock/_executor.py:109
Function
setup
(app: Sphinx)
docs/conf.py:112
Function
shared_database
(tmp_path: Path)
tests/sqlite/conftest.py:30
Function
sharing_violation
(path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/strict/test_sentinel.py:183
Function
should_not_be_called
()
tests/core/test_timeout.py:285
Function
should_not_be_called
()
tests/async_lock/test_acquire.py:207
Function
signal_after_descriptor
( context: FileLockContext, name: str, value: object, # simplint: ignore[imprecise-an
tests/soft/exclusive/test_publication_cleanup.py:148
Function
signal_first_miss
(path: str | os.PathLike[str], *, dir_fd: int | None = None)
tests/soft/test_lease_release.py:123
Function
signal_once
(*_args: object)
tests/core/test_release_interruption.py:253
Function
signal_once
(*_args: object)
tests/async_lock/test_release.py:57
Function
signal_then_acquire
()
tests/core/test_acquire_signal.py:45
Function
singleton_child
()
tests/core/test_fork_ownership.py:134
Function
sleep
(seconds: float)
tests/soft/read_write/test_lock_contention.py:293
Function
slow_scandir
(path: str | os.PathLike[str] | int)
tests/sqlite/test_links_sweep.py:56
Function
soft_create_path
()
tests/conftest.py:412
← previous
next →
1,601–1,700 of 3,548, ranked by callers