aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drive/sync.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/drive/sync.go b/drive/sync.go
index 7054ab9..a2c0747 100644
--- a/drive/sync.go
+++ b/drive/sync.go
@@ -192,9 +192,9 @@ type syncFiles struct {
func (self *syncFiles) filterMissingRemoteDirs() []*localFile {
var files []*localFile
- for _, f := range self.local {
- if f.info.IsDir() && !self.existsRemote(f) {
- files = append(files, f)
+ for _, lf := range self.local {
+ if lf.info.IsDir() && !self.existsRemote(lf) {
+ files = append(files, lf)
}
}
@@ -216,9 +216,9 @@ func (self *syncFiles) filterMissingLocalDirs() []*remoteFile {
func (self *syncFiles) filterMissingRemoteFiles() []*localFile {
var files []*localFile
- for _, f := range self.local {
- if !f.info.IsDir() && !self.existsRemote(f) {
- files = append(files, f)
+ for _, lf := range self.local {
+ if !lf.info.IsDir() && !self.existsRemote(lf) {
+ files = append(files, lf)
}
}