[+] add custom shutil_rmtree
This commit is contained in:
parent
15ab55e370
commit
fbe6fb01cb
@ -5,7 +5,7 @@ project(
|
|||||||
).stdout().strip('\n'),
|
).stdout().strip('\n'),
|
||||||
# 'online.fxreader.uv',
|
# 'online.fxreader.uv',
|
||||||
# ['c', 'cpp'],
|
# ['c', 'cpp'],
|
||||||
version: '0.1.5.17+27.10',
|
version: '0.1.5.17+27.11',
|
||||||
# default_options: [
|
# default_options: [
|
||||||
# 'cpp_std=c++23',
|
# 'cpp_std=c++23',
|
||||||
# # 'prefer_static=true',
|
# # 'prefer_static=true',
|
||||||
|
@ -123,3 +123,14 @@ def interfaces_index() -> list[interfaces_index_t.Interface]:
|
|||||||
)
|
)
|
||||||
|
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
|
||||||
|
def shutil_rmtree(
|
||||||
|
path: pathlib.Path,
|
||||||
|
preserve_top_path: bool = False,
|
||||||
|
) -> None:
|
||||||
|
if preserve_top_path:
|
||||||
|
for p in path.iterdir():
|
||||||
|
shutil.rmtree(str(p))
|
||||||
|
else:
|
||||||
|
shutil.rmtree(str(path))
|
||||||
|
BIN
releases/whl/online_fxreader_pr34-0.1.5.17+27.11-py3-none-any.whl
(Stored with Git LFS)
Normal file
BIN
releases/whl/online_fxreader_pr34-0.1.5.17+27.11-py3-none-any.whl
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user