Files
syncthing-arm/cmd/syncthing
Anderson Mesquita a0b7ac402d Refactor main.ensureDir()
ensureDir() did not handle one last error case and there was some logic
in the main() function that belonged to ensureDir() as well. It was also
creating a directory with a hardcoded 0700 mode, regardless of what mode
was passed to it.

This refactors it a little to fix the broken behavior, avoid redundant
checks by taking advantage of the behavior of MkdirAll, and move the
extra logic from main() into ensureDir().
2015-12-16 17:19:26 -05:00
..
2015-04-04 21:59:54 +02:00
2014-03-30 21:59:40 +02:00
2015-08-09 09:35:26 +02:00
2015-08-09 09:35:26 +02:00
2015-03-17 16:02:27 +01:00
2015-08-09 09:35:26 +02:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-12-16 17:19:26 -05:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-12-14 13:07:42 +01:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00
2015-09-22 19:38:46 +02:00
2015-03-17 16:02:27 +01:00
2015-03-17 16:02:27 +01:00