gnomish_army_knife.paths package#

Module contents#

A module implementing interfaces for working with file-system paths related to a World of Warcraft installation.

gnomish_army_knife.paths.combat_log_datetime(slug: Path | str) datetime[source]#

Get a datetime instance based on the log slug.

gnomish_army_knife.paths.combat_log_slug(path: Path) str[source]#

Get the non-boilerplate parts of a combat log file name.

gnomish_army_knife.paths.path_is_combat_log(path: Path) bool[source]#

Determine if a given path points to a combat log file.

gnomish_army_knife.paths.wow_dir(args: Namespace, config: Config) Path[source]#

A method for locating the ‘World of Warcraft’ directory.