diff options
| author | Damien George <damien@micropython.org> | 2025-03-11 14:39:41 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-03-27 17:04:12 +1100 |
| commit | e4051a1ca66703090383678a1747c3f99e993309 (patch) | |
| tree | 05b0ece8c55b373a4fb561c676beb389012e10c3 /py | |
| parent | c68a40ac94ea8a8dd6031dff6f21706977893bef (diff) | |
extmod/vfs_rom: Implement minimal VfsRom.getcwd() method.
This is needed if you chdir to a ROMFS and want to query your current
directory.
Prior to this change, using `os.getcwd()` when in a ROMFS would raise:
AttributeError: 'VfsRom' object has no attribute 'getcwd'
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions
