mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-28 12:56:31 -04:00
Add entry refresh feature; fix ClampTrailingWhitespace ignoring the initial trim
This commit is contained in:
@@ -17,12 +17,12 @@ import (
|
||||
func GetRemoteDataFromServer(clientDeviceID string) error {
|
||||
entryList, dirList, err := synccommon.WalkEntryDir()
|
||||
if err != nil {
|
||||
return errors.New("unable to walk the entry directory: " + err.Error())
|
||||
return errors.New("unable to walk entry directory: " + err.Error())
|
||||
}
|
||||
modList := synccommon.GetModTimes(entryList)
|
||||
deletionsList, err := os.ReadDir(global.ConfigDir + global.PathSeparator + "deletions")
|
||||
if err != nil {
|
||||
return errors.New("unable to read the deletions directory: " + err.Error())
|
||||
return errors.New("unable to read deletions directory: " + err.Error())
|
||||
}
|
||||
|
||||
// print the current UNIX timestamp to stdout
|
||||
|
||||
Reference in New Issue
Block a user