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