Revision c3f54085
ID | c3f54085a6c91c0b36a205ea01e6769af9ec4059 |
ensure-dirs: Check mode and owner before changing
This avoids many calls to chmod(2) and chown(2), and thereby ctime
updates.
Since I had to update the unittests anyway I untangled the code a bit,
split it into more separate functions and added some more tests.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Files
- added
- modified
- copied
- renamed
- deleted