(path)
| 162 | |
| 163 | |
| 164 | def split_all(path): |
| 165 | result = [] |
| 166 | |
| 167 | head = path |
| 168 | while head and (not is_root(head)): |
| 169 | (head, tail) = os.path.split(head) |
| 170 | if tail: |
| 171 | result.append(tail) |
| 172 | |
| 173 | result.reverse() |
| 174 | return result |
| 175 | |
| 176 | |
| 177 | def to_filename(txt): |
no test coverage detected