MCPcopy Create free account

hub / github.com/tox-dev/filelock / functions

Functions3,548 in github.com/tox-dev/filelock

Functionlstat
(path: str | os.PathLike[str])
tests/soft/test_lease_heartbeat_error.py:31
Functionlstat_swapped_identity
(path: str)
tests/native/test_unix_fallback.py:474
Functionlstat_then_act
(path: str | os.PathLike[str], *, dir_fd: int | None = None)
tests/conftest.py:168
Functionlstat_with_reuse
(path: str | os.PathLike[str], *, dir_fd: int | None = None)
tests/conftest.py:191
Functionmark_released
()
tests/soft/exclusive/recovery_helpers.py:76
Functionmark_released
()
tests/async_lock/test_close_errors.py:56
Functionmarker
(tmp_path: Path)
tests/soft/conftest.py:14
Functionmarker
(tmp_path: Path)
tests/async_lock/test_backends.py:23
Methodmembers
(self)
src/filelock/_soft/_read_write/_generations.py:227
Functionmess_with_file
(lock_: BaseFileLock)
tests/core/test_threading.py:126
Functionmismatch_public
(directory_ref: tuple[str, int | None], name: str)
tests/soft/strict/test_publication_rollback.py:41
Functionmiss_the_epoch_once
(self: OsFiles, path: str)
tests/soft/read_write/test_generations.py:79
Methodmode
The file permissions requested for the lock file. Without an explicit ``mode`` this reports ``0o644`` for backwards compatibility, b
src/filelock/_core/_lock.py:371
Functionmount_over
(same_device: bool)
tests/identity/conftest.py:38
Functionnest
(_fd: int)
tests/core/test_on_acquired.py:266
Functionnest
()
tests/core/test_release_interruption.py:150
Functionnever_answered
(path: PathValue, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/strict/test_sentinel.py:222
Functionno_identity
(fd: int)
tests/soft/exclusive/test_publication_rollback.py:186
Functionnon_regular_fstat
(fd: int)
tests/soft/strict/test_publication_rollback.py:285
Functionnote_poll
()
tests/async_lock/test_admission.py:213
Functionobserve_create
( files: OsFiles, path: str, data: bytes, *, durable: bool = False,
tests/soft/read_write/test_async_close.py:344
Functionobserve_first_poll
()
tests/async_lock/test_release_cancellation.py:251
Functionobserve_first_poll
()
tests/async_lock/test_admission.py:71
Functionold_client_env
()
tests/soft/strict/test_compatibility.py:42
Functionopen_always_permission_error
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/native/test_unix.py:84
Functionopen_enoent_then_succeed
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/native/test_unix.py:306
Functionopen_no_creat
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/native/test_unix.py:64
Functionopen_permission_then_unlink
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/native/test_unix.py:213
Functionopen_probe
(path: str, flags: int, mode: int = 0o777)
tests/native/test_unix_probe.py:45
Functionopen_with_full_directory
(path: str, flags: int, mode: int = 0o777)
tests/soft/exclusive/test_publication_rollback.py:62
Functionopen_would_block
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/native/test_unix.py:237
Functionoplocked_lock_path
( request: pytest.FixtureRequest, tmp_path: Path, hold_oplock: Callable[[Path], Callable[[], None]] )
tests/conftest.py:402
Functionordered_publication
(destination: str, publish: Callable[[], int | None])
tests/soft/strict/test_publication.py:40
Functionother
()
tests/soft/read_write/test_hold.py:61
Functionother_thread
()
tests/soft/read_write/test_hold.py:212
Functionother_thread
()
tests/sqlite/test_transactions_threads.py:101
Functionout_of_grammar_host
(request: pytest.FixtureRequest, mocker: MockerFixture)
tests/identity/test_host.py:27
Functionoverride
(method: _Method)
src/filelock/_core/_settings.py:34
Methodoverwrite
(self, path: str, data: bytes, identity: tuple[int, int], header: bytes)
src/filelock/_soft/_read_write/_storage.py:78
Functionown
()
tests/soft/strict/test_release_worker.py:133
Methodowner
The protocol 2 owner record, or ``None`` for a missing, malformed or legacy marker.
src/filelock/_soft/_exclusive/_marker.py:25
Functionowner_gone_and_successor_acquired
(pid: int, signal: int)
tests/filesystem/test_exchange_recovery.py:35
Functionowner_in_another_namespace
(mocker: MockerFixture)
tests/identity/test_process.py:332
Functionowner_of_fd
(fd: int)
tests/soft/strict/test_directories_ownership.py:161
Functionpark
()
tests/soft/read_write/test_async_close.py:264
Functionpark
()
tests/soft/read_write/test_async_executor.py:120
Functionpark
()
tests/sqlite/test_async_executor.py:95
Functionpause
(_: int)
tests/core/test_admission.py:146
Functionpause
()
tests/soft/strict/test_release_worker.py:39
Functionpause
()
tests/soft/strict/conftest.py:47
Functionpause
()
tests/soft/strict/test_release_observers.py:104
Functionpause_before_withdrawal
(record: logging.LogRecord)
tests/soft/strict/test_release_wait.py:83
Functionpause_first_intent
(destination: str, publish: Callable[[], int | None])
tests/soft/strict/test_publication.py:220
Functionpause_in_claim_creation
(frame: FrameType, event: str, _arg: Unused)
tests/soft/test_lease.py:230
Functionpaused
(path: Path)
tests/sqlite/test_links_sweep.py:198
Functionpaused_close
()
tests/soft/read_write/test_async_close.py:235
Functionpaused_close
()
tests/sqlite/test_async_close.py:219
Functionpaused_in_transition
(tmp_path: Path)
tests/core/test_admission.py:143
Functionpaused_write
(fd: int, data: bytes | bytearray | memoryview)
tests/soft/strict/test_publication.py:186
Functionpeer_breaks_and_holder_acquires
()
tests/filesystem/test_exchange.py:180
Functionpeer_breaks_then_successor_acquires
( path: str | os.PathLike[str], *, dir_fd: int | None = None )
tests/soft/exclusive/test_recovery_expiry.py:99
Functionpeer_claims_first
(source: Path, target: str)
tests/soft/exclusive/test_recovery_claim.py:93
Functionpeer_exchanges_back
(_seconds: float)
tests/soft/exclusive/test_recovery_exchange.py:86
Functionpeer_exchanges_back_once_it_stands_at_the_path
(_seconds: float)
tests/soft/exclusive/test_recovery_exchange.py:133
Functionpeer_exchanges_then_unlink
(path: Path, *, missing_ok: bool = False)
tests/soft/exclusive/test_recovery_takeover.py:78
Functionpeer_moves_a_live_lock_onto_the_guessable_name
(path: str | os.PathLike[str])
tests/filesystem/test_exchange_recovery.py:341
Functionpeer_recreates_then_pin
( path: str, )
tests/filesystem/test_exchange.py:202
Functionpeer_recreates_then_swaps_in_a_symlink
(path: str, *, dir_fd: int | None = None)
tests/filesystem/test_exchange.py:254
Functionpeer_replaces_the_placeholder
(path: str | os.PathLike[str], *, dir_fd: int | None = None)
tests/soft/exclusive/test_publication_rollback.py:150
Functionpeer_replaces_the_swapped_in_file
(path: str | os.PathLike[str], *, dir_fd: int | None = None)
tests/filesystem/test_exchange_recovery.py:143
Functionpeer_swaps_in_a_symlink
()
tests/filesystem/test_exchange.py:234
Functionpeer_takes_the_marker
()
tests/soft/exclusive/test_recovery_takeover.py:196
Functionpeer_takes_the_path_then_exchange
(first: str, second: str)
tests/soft/exclusive/test_recovery_exchange.py:38
Functionpeer_then_our_exchange_out_of_turn
(aside: str, path: str)
tests/soft/exclusive/test_recovery_exchange.py:129
Functionpeers_compact_then_both_link
(source: str, target: str)
tests/soft/read_write/test_generations_publication.py:96
Functionpeers_compact_then_link
(source: str, target: str)
tests/soft/read_write/test_generations_publication.py:53
Methodpid
Read the holder's PID from the soft fallback marker.
src/filelock/_native/_unix.py:110
Methodpid
The PID in the owner record, or ``None`` if the marker is missing or unreadable.
src/filelock/_soft/_exclusive/_marker.py:36
Methodpid
The PID recorded in the marker, or ``None`` if it is missing or unreadable.
src/filelock/_soft/_exclusive/_lock.py:29
Functionpin_refused
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/filesystem/test_exchange_recovery.py:89
Functionpin_then_peer_swaps_the_marker
(fd: int)
tests/filesystem/test_exchange_recovery.py:60
Functionplant_after_preflight
( lock_file: str, path: Path, mode: int, unchanged_for: Callable[[os.stat_result], float] )
tests/soft/strict/test_scan_limit.py:55
Functionplatform_open
(path: str, flags: int, mode: int = 0o777, *, dir_fd: int | None = None)
tests/soft/read_write/test_participant_heartbeat.py:108
Methodpoll_interval
The default polling interval, in seconds. .. versionadded:: 3.24.0
src/filelock/_core/_lock.py:340
Functionposix_link_holder
(shared_database: Path)
tests/sqlite/conftest.py:18
Methodprepare
(self, root: str, *, force: bool = False)
src/filelock/_soft/_read_write/_storage.py:87
Methodpreserve_lock_file
Whether filelock promises not to unlink the lock pathname on release. When ``True``, Windows skips its post-release unlink and Unix
src/filelock/_core/_lock.py:278
Functionprobe_child
()
tests/core/fork_probes.py:30
Functionpublish_competing_intent
(fd: int, path: str)
tests/soft/strict/test_windows_withdrawal.py:39
Functionpublish_competitor
( source: PathValue, destination: PathValue, *, src_dir_fd: int | None = None,
tests/soft/strict/test_sentinel.py:60
Functionpublish_directory
( _source: PathValue, _destination: PathValue, **_options: int | bool | None, )
tests/soft/strict/test_sentinel.py:374
Functionpublish_foreign_held
( source: PathValue, destination: PathValue, *, src_dir_fd: int | None = None,
tests/soft/strict/test_publication_collision.py:86
Functionpytest_collection_modifyitems
(items: list[pytest.Item])
tests/conftest.py:71
Functionpytest_configure
(config: pytest.Config)
tests/conftest.py:36
Functionpytest_runtest_makereport
(item: pytest.Item, call: pytest.CallInfo[None])
tests/conftest.py:85
Functionraise_then_unlock
(fd: int, operation: int)
tests/core/test_release_interruption.py:225
Functionraising_child
()
tests/core/test_fork_helpers.py:19
Functionreacquire
(_fd: int)
tests/core/test_on_acquired.py:291
Methodread
(self, path: str)
src/filelock/_soft/_read_write/_storage.py:66
Functionread_an_empty_pipe
()
tests/filesystem/windows/test_oplocks.py:190
← previousnext →1,501–1,600 of 3,548, ranked by callers