mirror of
https://github.com/rclone/rclone.git
synced 2024-12-22 03:30:11 +08:00
53868ef4e1
ncdu stores the position that it was in for each directory. However doing a rescan can cause those positions to be out of range if the number of files decreased in a directory. When re-entering the directory, this causes an index out of range error. This fixes the problem by detecting the index out of range and flushing the saved directory position. See: https://forum.rclone.org/t/slice-bounds-out-of-range-during-ncdu/42492/ |
||
---|---|---|
.. | ||
scan | ||
ncdu_unsupported.go | ||
ncdu.go |