Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
e778f976
Commit
e778f976
authored
Nov 08, 2022
by
BO ZHANG
🏀
Browse files
added static method CsstMsDataManager.clear_dir()
parent
58d479f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_common/data_manager.py
View file @
e778f976
...
...
@@ -506,6 +506,10 @@ class CsstMsDataManager:
""" Remove L1 (sub-)directory. """
os
.
system
(
f
"rm -rf
{
os
.
path
.
join
(
self
.
dir_l1
,
dir_name
)
}
"
)
@
staticmethod
def
clear_dir
(
dir_path
):
os
.
system
(
f
"rm -rf
{
dir_path
}
/*"
)
# DFS interfaces
@
property
def
dfs_node
(
self
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment