poll for Google Drive changes when mounted

This commit is contained in:
Stefan Breunig
2017-05-25 23:05:49 +02:00
committed by Nick Craig-Wood
parent 5455d34f8c
commit a2e3af0523
24 changed files with 199 additions and 9 deletions

View File

@@ -48,6 +48,9 @@ func NewFS(f fs.Fs) *FS {
if readOnly {
fsys.FS.ReadOnly()
}
if pollInterval > 0 {
fsys.FS.PollChanges(pollInterval)
}
return fsys
}