Fix mkdir and mkpath for krarc protocol
ClosedPublic

Authored by martinkostolny on Sep 24 2017, 5:39 PM.

Details

Summary

In D7610 I've broken mkdir in krarc. This patch should:

  • fix mkdir for krarc (by actually calling KIO::mkdir when only one directory is being created)
  • fix mkpath for krarc (by reporting mkdir success with paths like krarc:/home/)

Other changes was just tiny code optimizations.

Any criticism is appreciated.

Test Plan
  • create a directory inside archive
  • create multiple directories inside archive (e.g. "aaa/bbb/ccc")

Diff Detail

Repository
R167 Krusader
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
martinkostolny created this revision.Sep 24 2017, 5:39 PM
asensi accepted this revision.Sep 29 2017, 10:00 PM
asensi added a subscriber: asensi.

For my part, I accept this because my performed tests (using Kubuntu 17.04) went alright.

Thanks, Martin!

This revision is now accepted and ready to land.Sep 29 2017, 10:00 PM
This revision was automatically updated to reflect the committed changes.