Skip to main content

Module object_key

Module object_key 

Source
Expand description

Object-key normalization and local-name safety.

S3 keys may contain characters that some local filesystems reject. Traversal and control-character checks always apply. Windows filename rules apply only when a key is being materialized onto a local filesystem that needs them.

Enums§

ObjectKeyPolicy
How a relative object key should be validated.

Functions§

normalize_relative_key
Normalize a source-relative object key.
relative_local_path_from_key
Strip prefix from key and return a relative local path.