remote_io
Utilities for session-scoped remote IO caching and fallback.
Functions
| Name | Description |
|---|---|
| clear_remote_file_cache | Remove all locally cached remote files and memoized paths. |
| ensure_local_file | Return a stable local path for one resource for the current session. |
| get_local_handle | Materialize a resource locally, then pass it to an opener. |
| get_remote_cache_path | Return the on-disk directory used for remote file caching. |
| get_remote_cache_scope | Return the current remote-cache policy scope. |
| is_no_range_http_error | Return True when an exception indicates no-range HTTP random access. |
| normalize_remote_id | Return a stable identifier for a remote path. |
| pause_gc | Pause automatic garbage collection for one remote read session. |
| remote_cache_scope | Temporarily set the current remote-cache policy scope. |
| resume_gc |
Undo one pause_gc; the last one restores the previous gc state.
|
| suppress_gc_pause_warning | Do not announce the gc pause for the duration of the block. |