comparison: eric6/MicroPython/MicroPythonFileSystemUtilities.py
eric6/MicroPython/MicroPythonFileSystemUtilities.py
- branch
- micropython
- changeset 7084
- 3eddfc540614
- parent 7081
- ed510767c096
- child 7137
- 4ed2573947ff
equal
deleted
inserted
replaced
52 @rtype str |
52 @rtype str |
53 """ |
53 """ |
54 if stat.S_ISDIR(mode) or isDir: |
54 if stat.S_ISDIR(mode) or isDir: |
55 # append a '/' for directories |
55 # append a '/' for directories |
56 return name + "/" |
56 return name + "/" |
|
57 elif stat.S_ISLNK(mode): |
|
58 # append a '@' for links |
|
59 return name + "@" |
57 else: |
60 else: |
58 # no change |
61 # no change |
59 return name |
62 return name |
60 |
63 |
61 |
64 |