Expand description
Port of fontTools.diff.utils, and of the parts of Python’s shutil that
fontTools.diff uses.
Functions§
- file_
exists file_exists: whether the path is an existing file (os.path.isfile).- get_
file_ modtime get_file_modtime: the modification time of the file in ISO format, in the local time zone, e.g.2024-01-31T12:34:56.789012+08:00.- get_
tables_ argument_ list get_tables_argument_list: the table tags given on the command line, padded with spaces to four characters, orNoneif none were given.- iso_
local_ time datetime.fromtimestamp(timestamp, timezone.utc).astimezone().isoformat().- which
shutil.which(cmd): the path of an executable, looked up inPATHifcmdhas no directory; on Windows, with the extensions ofPATHEXT, and in the current directory first.