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
delayed_fstat
(fd: int)
tests/core/test_fork_descriptors.py:66
Function
delayed_publication
(destination: str, publish: Callable[[], int | None])
tests/soft/strict/test_publication.py:144
Function
deny
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_publication_withdrawal_pending.py:189
Function
deny
(handle: int, access: int, share: int, flags: int)
tests/soft/exclusive/test_publication.py:115
Function
deny_abandoned_record
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_scan_reclaim.py:85
Function
deny_claims
(path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/strict/test_scan.py:127
Function
deny_clock_probe
(path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/strict/test_scan_reclaim.py:126
Function
deny_delete
(_handle: int, *, published: bool)
tests/soft/strict/test_windows_publication.py:172
Function
deny_held
( fd: int, path: str, private_name: Callable[[], str] | None = None, *,
tests/soft/strict/test_windows_withdrawal.py:136
Function
deny_intent_unlink
( directory: Path, name: str, *, claim_fd: int | None = None, cancel_w
tests/soft/strict/test_publication_withdrawal_pending.py:262
Function
deny_once
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_publication_rollback.py:304
Function
deny_once
(path: str, *, read_only: bool, owner_only: bool)
tests/filesystem/windows/test_handles.py:45
Function
deny_only_the_owned_intent_unlink
( directory: Path, name: str, *, claim_fd: int | None = None, cancel_w
tests/soft/strict/test_publication_withdrawal_pending.py:82
Function
deny_probe
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/native/test_unix_probe.py:307
Function
deny_slowly_once
(path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/strict/test_scan.py:242
Function
deny_write
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/native/conftest.py:59
Function
deny_write_then_chdir
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/native/test_unix_open.py:52
Function
descriptor_child
()
tests/core/test_fork_descriptors.py:40
Function
directories_of_another_account
(mocker: MockerFixture)
tests/conftest.py:247
Function
directory_access
(request: pytest.FixtureRequest, mocker: MockerFixture)
tests/soft/read_write/conftest.py:82
Function
disappear_before_publish
(path: str, *, dir_fd: int | None = None)
tests/native/test_unix_fallback_marker.py:187
Function
drive_outside_any_task
()
tests/sqlite/test_async_contention.py:206
Function
drop_the_last_reference
(_: LeaseCompromise)
tests/soft/test_lease_finalization.py:186
Function
eio_on_probe
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_scan_reclaim.py:167
Function
enospc_on_probe
(fd: int, data: bytes)
tests/soft/strict/test_scan_reclaim.py:156
Method
enter
(remaining: float)
src/filelock/_async_lock/_backends.py:137
Function
enter_gate
()
tests/core/test_release_interruption.py:125
Function
enter_peer
(record: logging.LogRecord)
tests/soft/strict/test_release_interruption.py:100
Function
error
(request: pytest.FixtureRequest)
tests/core/test_errors.py:130
Function
everyone_writable_database
(tmp_path: Path)
tests/sqlite/conftest.py:44
Function
evicted_and_succeeded_then_write_fails
(fd: int, data: bytes)
tests/soft/exclusive/test_publication_rollback.py:120
Function
exchange_after_the_holder_won
(aside: str, path: str)
tests/soft/exclusive/test_recovery_exchange.py:109
Function
exchange_then_hang
(source: str, target: str)
tests/process_helpers.py:42
Function
exchange_then_interrupt
(aside: str, path: str)
tests/soft/exclusive/test_recovery_exchange.py:63
Function
exchange_then_interrupt
(*_names: str)
tests/soft/exclusive/test_recovery_claim.py:389
Function
exchange_then_interrupt
(source: str, target: str)
tests/native/test_unix_probe.py:225
Function
exchange_when_released
(first: str, second: str)
tests/soft/exclusive/test_recovery_claim.py:254
Function
exchange_with_rival
(first: str, second: str)
tests/soft/exclusive/test_recovery_claim.py:53
Function
execute
(real_connection: sqlite3.Connection, statement: str)
tests/sqlite/test_async_release_cancellation.py:190
Function
execute_with_delay
(connection: ForkSafeConnection, statement: str)
tests/sqlite/test_transactions_connection.py:46
Method
executor
Supplied executor or the owned worker.
src/filelock/_async_lock/_backends.py:116
Method
executor
The executor.
src/filelock/_async_lock/_release.py:194
Function
extend_between_checks
(path: str)
tests/soft/read_write/test_generations_publication.py:146
Function
fail
(fd: int)
tests/core/test_on_acquired.py:160
Function
fail
(_compromise: LeaseCompromise)
tests/soft/read_write/test_heartbeat.py:118
Function
fail
(fd: int)
tests/async_lock/test_backend_calls.py:192
Function
fail_after_starting_release
(_: int)
tests/core/test_admission.py:126
Function
fail_callback
(_fd: int)
tests/core/test_fork_async_backends.py:195
Function
fail_claim_scan
( directory_ref: tuple[str, int | None], )
tests/soft/strict/test_directories_ownership.py:318
Function
fail_claim_unlink
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_publication_withdrawal_errors.py:77
Function
fail_cleanup_directory_close
(fd: int)
tests/soft/strict/test_publication_withdrawal_errors.py:149
Function
fail_close
()
tests/soft/read_write/test_async_close.py:190
Function
fail_close
(fd: int)
tests/soft/strict/test_scan.py:272
Function
fail_close
(fd: int, *, default_suppresses: bool)
tests/soft/strict/test_release_worker.py:126
Function
fail_close
(fd: int, *, default_suppresses: bool)
tests/soft/strict/test_release_interruption.py:32
Function
fail_close
()
tests/soft/strict/test_windows_publication.py:252
Function
fail_close
()
tests/sqlite/test_async_close.py:174
Function
fail_directory_close
(fd: int)
tests/soft/strict/test_publication_withdrawal_errors.py:84
Function
fail_directory_close
(fd: int)
tests/soft/strict/test_publication_close.py:85
Function
fail_directory_close
(fd: int)
tests/soft/strict/filesystem_faults.py:39
Function
fail_directory_close_after_held
(fd: int)
tests/soft/strict/test_publication_rollback.py:257
Function
fail_directory_fstat
(fd: int)
tests/soft/strict/test_directories_ownership.py:251
Function
fail_first
(fd: int)
tests/soft/exclusive/test_publication_rollback.py:203
Function
fail_first_private_cleanup
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_sentinel.py:395
Function
fail_first_unlock
(_fd: int, _operation: int)
tests/async_lock/test_release_cancellation.py:307
Function
fail_first_unlock
(fd: int, operation: int)
tests/async_lock/test_executor.py:120
Function
fail_for_the_lock_file
(fd: int, *args: int)
tests/native/test_unix_modes.py:133
Function
fail_held
( source: PathValue, destination: PathValue, *, src_dir_fd: int | None = None,
tests/soft/strict/test_publication_collision.py:53
Function
fail_held_link
( source: PathValue, destination: PathValue, *, src_dir_fd: int | None = None,
tests/soft/strict/test_publication_withdrawal_pending.py:165
Function
fail_held_link
( source: PathValue, destination: PathValue, *, src_dir_fd: int | None = None,
tests/soft/strict/test_publication_rollback.py:243
Function
fail_held_publish
( private_path: Callable[[], str], public_path: str, record: bytes,
tests/soft/strict/test_publication_withdrawal_pending.py:284
Function
fail_held_unlink
(path: PathValue, *, dir_fd: int | None = None)
tests/soft/strict/test_publication_withdrawal_errors.py:142
Function
fail_link
(_source: PathValue, _destination: PathValue, **_options: int | bool | None)
tests/soft/strict/test_publication_close.py:80
Function
fail_once
(path: str | os.PathLike[str], *, dir_fd: int | None = None)
tests/soft/test_lease_release.py:222
Function
fail_once
(path: Path, *, missing_ok: bool = False)
tests/soft/strict/test_publication_withdrawal_errors.py:34
Function
fail_open_process
(_access: int, _inherit_handle: bool, _pid: int)
tests/soft/exclusive/test_recovery_filesystem.py:112
Function
fail_private_close
(fd: int)
tests/soft/strict/test_lock.py:393
Function
fail_private_close
(fd: int)
tests/soft/strict/test_publication_rollback.py:194
Function
fail_private_close
(fd: int)
tests/soft/strict/test_publication_close.py:55
Function
fail_private_inspection
(fd: int)
tests/soft/strict/test_publication_rollback.py:111
Function
fail_protocol_mkdir
(path: Path, mode: int = 0o777, parents: bool = False, exist_ok: bool = False)
tests/soft/strict/test_directories_ownership.py:38
Function
fail_registration
(fd: int)
tests/core/test_fork_async_backends.py:28
Function
fail_registration
(fd: int)
tests/core/test_fork_backends.py:164
Function
fail_sentinel_close
(fd: int)
tests/soft/strict/test_publication_close.py:169
Function
fail_sentinel_inspection
(fd: int)
tests/soft/strict/test_lock.py:361
Function
fail_sentinel_inspection
(fd: int)
tests/soft/strict/test_publication_close.py:164
Function
fail_worker
(state: FileLockContext, *, deadline: float | None = None)
tests/soft/strict/test_windows_withdrawal.py:209
Function
failing_open
(path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/strict/filesystem_faults.py:67
Function
failing_release
(mocker: MockerFixture)
tests/soft/read_write/conftest.py:32
Function
fake_acquire
(blocking: bool = True, timeout: float = -1)
tests/sqlite/test_transactions.py:346
Method
fallback_to_soft
Whether a :class:`FileLock` falls back to :class:`SoftFileLock` when the filesystem lacks ``flock``. Only :class:`UnixFileLock` acts
src/filelock/_core/_lock.py:265
Function
files
(lock_file: str)
tests/soft/read_write/conftest.py:44
Function
filesystem_now
(directory_ref: tuple[str, int | None], public_name: str)
src/filelock/_soft/_strict/_directories.py:260
Function
finish_epoch_after_link
(source: str, target: str)
tests/soft/read_write/test_generations_publication.py:175
Function
flaky
(path: str | os.PathLike[str], *args: object, **kwargs: object)
tests/soft/test_lease_heartbeat.py:263
Function
flock_missing
(fd: int, operation: int)
tests/native/test_unix_fallback.py:218
Function
flushes
(mocker: MockerFixture)
tests/soft/read_write/conftest.py:26
Method
force_break
Remove the marker. A live holder can continue working after a forced break.
src/filelock/_soft/_exclusive/_marker.py:47
Function
fork_from_hook
(_fd: int)
tests/core/test_fork_ownership.py:194
Function
fstat
(fd: int)
tests/soft/test_lease_heartbeat_error.py:36
← previous
next →
1,301–1,400 of 3,548, ranked by callers