dekshell 0.2.28__py3-none-any.whl → 0.2.29__py3-none-any.whl

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.
@@ -14,6 +14,7 @@ from dektools.file import sure_dir, write_file, read_text, remove_path, sure_par
14
14
  format_path_desc, read_file, split_ext, path_ext, clear_dir, copy_recurse_ignore, path_is_empty, \
15
15
  read_lines, seek_py_module_path, come_real_path, status_of_dir, diff_of_dir, path_parent, \
16
16
  split_file, combine_split_files, remove_split_files, meta_split_file, tree, iglob, \
17
+ iter_dir_type, iter_dir_type_one, \
17
18
  where, where_list, which, which_list
18
19
  from dektools.hash import hash_file
19
20
  from dektools.zip import compress_files, decompress_files
@@ -252,8 +253,8 @@ default_methods = {
252
253
  'mdt': lambda x=None: tempfile.mkdtemp(prefix=x),
253
254
  'mdc': _sure_and_clear,
254
255
 
255
- 'lsa': lambda path='.', file=None: list(_iter_dir(path, file)),
256
- 'lso': lambda path='.', file=None: _list_dir_one(path, file) or '',
256
+ 'lsa': iter_dir_type,
257
+ 'lso': lambda path='.', file=None: iter_dir_type_one(path, file, ''),
257
258
  'ls': lambda x='.': os.listdir(x),
258
259
 
259
260
  'iglob': iglob,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: dekshell
3
- Version: 0.2.28
3
+ Version: 0.2.29
4
4
  Author-Email: sanzenwin <sanzenwin@gmail.com>
5
5
  License: MIT
6
6
  Requires-Python: >=3.8
@@ -1,12 +1,12 @@
1
- dekshell-0.2.28.dist-info/METADATA,sha256=TM4EKPhD61p--WPgJ-nnOTdYLF5dOGjujW-iVFA2fIU,573
2
- dekshell-0.2.28.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
- dekshell-0.2.28.dist-info/entry_points.txt,sha256=d-kbfULiUTZWIBBsrQF3J_-wESncF-4K2rwHT08grlI,75
1
+ dekshell-0.2.29.dist-info/METADATA,sha256=BhyPJENInjdzdb-hqwnsiZKHT8BN-kBMQKUnJ-Nql9I,573
2
+ dekshell-0.2.29.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
+ dekshell-0.2.29.dist-info/entry_points.txt,sha256=d-kbfULiUTZWIBBsrQF3J_-wESncF-4K2rwHT08grlI,75
4
4
  dekshell/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  dekshell/click/__entry__.py,sha256=CMuxUzXoEe4TcHFZwv-MNFwHnu1HSZCDpXFpqQ814uM,42
6
6
  dekshell/click/__init__.py,sha256=rFzB_exzPQaIcbbms5PdHAU3NGdl2MBaYbq9v7g7BOI,1870
7
7
  dekshell/core/__init__.py,sha256=7d3AjVUGIjXIXRYYiJ03rz5ZONTTojmGfgwpjGmKqtU,5448
8
8
  dekshell/core/contexts/__init__.py,sha256=ynsfv37azOKfI2UKd0iPl2M6iBW-k5cb1BqSLOWuJpI,482
9
- dekshell/core/contexts/methods.py,sha256=ksoOgBHDRM6uiGHw3ubCk4x7ExJKvJ6H3eGhaM-SNDE,9722
9
+ dekshell/core/contexts/methods.py,sha256=bqKFeK6ZPpGIullMKcG_bh4OKSFTWKE6mD_tZzxDVgY,9722
10
10
  dekshell/core/contexts/properties.py,sha256=esr51c6wDTDsuFXF2uj7WfyIGSq9H0dzqDqWzeMTNQE,2382
11
11
  dekshell/core/markers/__init__.py,sha256=yRQazZ1dxMltFao_RQnDnawSnQcjN_4B930MjJhaZ40,1968
12
12
  dekshell/core/markers/base/__init__.py,sha256=mrOgC5glSG60NMpflSi5mb4bXTmDgv2i-ZYUHCef2Nw,13826
@@ -37,4 +37,4 @@ dekshell/utils/cmd.py,sha256=A0lEixQ7Ui0UxmeuymniyqCZXss9qQdX1C0COM7EEkQ,1234
37
37
  dekshell/utils/pkg.py,sha256=TgYqRqawoJfjkxt6UAHnp9ttmpjuHiWRFbqxADOS1VE,1337
38
38
  dekshell/utils/serializer.py,sha256=aIdF2Wzo-qHmIshv46jn1XD0X66vQ1JFdU-g3ZFbH2w,386
39
39
  dekshell/utils/shell.py,sha256=0NoA2-SOOMinbmZZipwzL-npBbzPOdWEfdPVYqq5G5g,92
40
- dekshell-0.2.28.dist-info/RECORD,,
40
+ dekshell-0.2.29.dist-info/RECORD,,