aboutsummaryrefslogtreecommitdiff
path: root/sdn-install
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2020-09-28 22:51:15 +0200
committerPřemysl Eric Janouch <p@janouch.name>2020-09-28 22:52:33 +0200
commitf596bb8f5e9fb0b9e42ad681886f2ab8991e82d4 (patch)
tree8faa59f69160a0d7c61267014e14b39eff91e35a /sdn-install
parent67da8d965b568e042ad3f93a47f93f3d0c965904 (diff)
downloadsdn-f596bb8f5e9fb0b9e42ad681886f2ab8991e82d4.tar.gz
sdn-f596bb8f5e9fb0b9e42ad681886f2ab8991e82d4.tar.xz
sdn-f596bb8f5e9fb0b9e42ad681886f2ab8991e82d4.zip
reload() doesn't really need to know the old path
Just whether it's safe for it to keep an anchor on the current item. I've left in the safety check for an empty entries array, for the theoretical case of an empty or entirely filtered-out root directory. It will likely crash in that case, anyway, the cursor may be either -1 or 0.
Diffstat (limited to 'sdn-install')
0 files changed, 0 insertions, 0 deletions