core: add helper for computing stats; use it in modules

This commit is contained in:
Dima Gerasimov 2020-06-04 22:19:34 +01:00
parent a94b64c273
commit 1cc4eb5d8d
10 changed files with 79 additions and 3 deletions

View file

@ -1,5 +1,8 @@
# this file only keeps the most common & critical types/utility functions
from .common import PathIsh, Paths, Json
from .common import get_files, LazyLogger
from .common import get_files
from .common import LazyLogger
from .common import warn_if_empty
from .common import stat
from .cfg import make_config