ape.parts.storage.filestorage.FileStorage.safe_name

FileStorage.safe_name(name, overwrite=False)

Adds a timestamp if formatted for it, increments if already exists

Param:
  • name: name for file (without path added)
  • overwrite: if True, don’t mangle the name
Returns:

unique name with full path

Navigation