an.util#
Internal helpers: file I/O, hashing, time arithmetic, light path utilities.
Nothing here is part of the public API — everything is underscore-prefixed or used only by sibling an modules.
Module Attributes
Names Windows refuses as a file whatever the extension ( |
Functions
|
Whether Windows reserves |
- an.util.WINDOWS_RESERVED_NAMES: frozenset[str] = frozenset({'aux', 'com0', 'com1', 'com2', 'com3', 'com4', 'com5', 'com6', 'com7', 'com8', 'com9', 'com²', 'com³', 'com¹', 'con', 'lpt0', 'lpt1', 'lpt2', 'lpt3', 'lpt4', 'lpt5', 'lpt6', 'lpt7', 'lpt8', 'lpt9', 'lpt²', 'lpt³', 'lpt¹', 'nul', 'prn'})#
Names Windows refuses as a file whatever the extension (
con,nul.mp4), compared case-insensitively;0and the superscript digits are reserved too.