Commit b071c886 authored by Marcel's avatar Marcel
Browse files

Add path expansion to fs.

parent 3e43e4b6
......@@ -336,6 +336,8 @@ class FileSystem(object):
# return
return self.handle_file_name_collision(newname, path)
def expand(self, path):
return os.path.expanduser(os.path.expandvars(path))
def string_compare(a, b):
if a == b:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment