Files
littlefs/scripts
Christopher Haster b2911fbbe7 scripts: Removed item/iter magic methods from fs object classes
So no more __getitem__, __contains__, or __iter__ for Rbyd, Btree, Mdir,
Mtree, Lfs.File, etc.

These were way too error-prone, especially when accidental unpacking
triggered unintended disk traversal and weird error states. We didn't
even use the implicit behavior because we preferred the full name for
heavy disk operations.

The motivation for this was Python not catching this bug, which is a bit
silly:

  rid, rattr, *path_ = rbyd
2025-04-16 15:22:28 -05:00
..
2025-04-16 15:22:24 -05:00
2025-04-16 15:22:24 -05:00
2025-04-16 15:22:24 -05:00
2025-04-16 15:22:24 -05:00