Jakob Borg
799f55e7ae
Add basic config tests
2014-03-04 22:17:39 +01:00
Philippe Schommers
d06204959e
Fix isTempName to work on Windows ( fixes #80 )
...
```path.Base()``` is for slash-separated paths, whereas Windows uses "\" to separate paths. Just convert the \ to / and it works.
2014-03-04 18:48:03 +01:00
filoozom
6a1c055288
Delete comment in config.go
2014-03-04 15:02:26 +01:00
filoozom
b9ec30ebdb
Update config.go
2014-03-04 11:29:51 +01:00
filoozom
428164f395
Update config.go to handle default slices correctly
2014-03-04 11:25:10 +01:00
Jakob Borg
5d8f0f835e
Merge branch 'filoozom-patch-1'
...
* filoozom-patch-1:
Fix divided by zero when the sync folder is empty (tot = 0)
Delete cfgFile before renaming it on Windows
Set the right config and home dir for each OS
Update getHomeDir() to use "os/user"
2014-03-03 14:06:15 +01:00
Jakob Borg
9743386166
Re-add inadvertently ignored files
2014-03-02 23:58:24 +01:00