viperleed.calc.bookkeeper.utils

Module utils of viperleed.calc.bookkeeper.

Collects functions used in multiple spots in the bookkeeper package.

Functions

ask_user_confirmation(mode)

Request user input on an action when bookkeeper runs in mode.

discard_files(*file_paths)

Delete files/folders at file_paths.

file_contents_identical(file_one, file_two)

Return whether two files have the same contents.

make_property(attr[, needs_update, updater])

Return a property getter that looks up attr.

needs_update_for_attr(attr[, attr_name, updater])

Return a decorator that complains if attr is None.