mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-10-26 22:09:56 -04:00
Add entry refresh feature; fix ClampTrailingWhitespace ignoring the initial trim
This commit is contained in:
1 parent
5666974a7f
commit
ca277ba773
4 files changed
+71
-13
No files matched your search
@@ -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