core.common: move stats-related stuff to my.core.stats and add more thorough tests/docs
deprecate core.common.stat and core.common.Stats with backwards compatibility
This commit is contained in:
parent
1f8c719e6d
commit
242e31b05c
14 changed files with 343 additions and 246 deletions
|
@ -1,7 +1,7 @@
|
|||
# this file only keeps the most common & critical types/utility functions
|
||||
from .common import get_files, PathIsh, Paths
|
||||
from .common import Json
|
||||
from .common import stat, Stats
|
||||
from .stats import stat, Stats
|
||||
from .common import datetime_naive, datetime_aware
|
||||
from .compat import assert_never
|
||||
from .utils.itertools import warn_if_empty
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue