dekshell 0.2.18__tar.gz → 0.2.19__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dekshell-0.2.18 → dekshell-0.2.19}/PKG-INFO +1 -1
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/contexts/methods.py +5 -1
- {dekshell-0.2.18 → dekshell-0.2.19}/pyproject.toml +1 -1
- {dekshell-0.2.18 → dekshell-0.2.19}/README.md +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/__init__.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/click/__entry__.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/click/__init__.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/__init__.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/contexts/__init__.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/contexts/properties.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/__init__.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/base/__init__.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/base/core.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/commands.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/comment.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/define.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/echo.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/empty.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/env.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/exec.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/for_.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/function.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/if_.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/input.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/invoke.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/pip_.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/redirect.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/shell.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/var.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/markers/while_.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/plugin/__init__.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/core/redirect.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/utils/__init__.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/utils/beep.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/utils/cmd.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/utils/pkg.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/utils/serializer.py +0 -0
- {dekshell-0.2.18 → dekshell-0.2.19}/dekshell/utils/shell.py +0 -0
|
@@ -11,7 +11,7 @@ from pathlib import Path
|
|
|
11
11
|
from io import BytesIO, StringIO
|
|
12
12
|
from dektools.file import sure_dir, write_file, read_text, remove_path, sure_parent_dir, normal_path, \
|
|
13
13
|
format_path_desc, read_file, split_ext, path_ext, clear_dir, copy_recurse_ignore, path_is_empty, \
|
|
14
|
-
read_lines, seek_py_module_path,
|
|
14
|
+
read_lines, seek_py_module_path, come_real_path, status_of_dir, diff_of_dir,\
|
|
15
15
|
split_file, combine_split_files, remove_split_files, meta_split_file, tree, iglob, \
|
|
16
16
|
where, where_list, which, which_list
|
|
17
17
|
from dektools.hash import hash_file
|
|
@@ -234,6 +234,7 @@ default_methods = {
|
|
|
234
234
|
'parent': _parent_dir,
|
|
235
235
|
'abs': normal_path,
|
|
236
236
|
'rel': os.path.relpath,
|
|
237
|
+
'cr': come_real_path,
|
|
237
238
|
'fullname': os.path.basename,
|
|
238
239
|
'name': lambda x: split_ext(x)[0],
|
|
239
240
|
'ext': path_ext,
|
|
@@ -262,6 +263,9 @@ default_methods = {
|
|
|
262
263
|
'sfm': meta_split_file,
|
|
263
264
|
'sfc': combine_split_files,
|
|
264
265
|
|
|
266
|
+
'sod': status_of_dir,
|
|
267
|
+
'dod': diff_of_dir,
|
|
268
|
+
|
|
265
269
|
'hash': lambda x, name='sha256', args=None: hash_file(name, x, args=args),
|
|
266
270
|
},
|
|
267
271
|
**path_common_methods,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|