parent
e191f3cc4d
commit
60dc1a3495
1 changed files with 4 additions and 4 deletions
|
@ -15,14 +15,14 @@ def cd_browse_workspace():
|
|||
{project.root}
|
||||
↓
|
||||
''', end=str())
|
||||
files = []
|
||||
paths = []
|
||||
for directory, directories, files in os.walk(project.root):
|
||||
for file in files:
|
||||
absolute_path = os.path.join(directory, file)
|
||||
relative_path = os.path.relpath(absolute_path, start=project.root)
|
||||
files.append(relative_path)
|
||||
for file in files:
|
||||
print(file)
|
||||
paths.append(relative_path)
|
||||
for path in paths:
|
||||
print(path)
|
||||
|
||||
|
||||
def cd_clone_branch():
|
||||
|
|
Loading…
Reference in a new issue