FileSystemForRemote implements drive.FileSystemForRemote.
| 46 | |
| 47 | // FileSystemForRemote implements drive.FileSystemForRemote. |
| 48 | type FileSystemForRemote struct { |
| 49 | logf logger.Logf |
| 50 | lockSystem webdav.LockSystem |
| 51 | |
| 52 | // mu guards the below values. Acquire a write lock before updating any of |
| 53 | // them, acquire a read lock before reading any of them. |
| 54 | mu sync.RWMutex |
| 55 | // fileServerTokenAndAddr is the secretToken|fileserverAddress |
| 56 | fileServerTokenAndAddr string |
| 57 | shares []*drive.Share |
| 58 | children map[string]*compositedav.Child |
| 59 | userServers map[string]*userServer |
| 60 | } |
| 61 | |
| 62 | // SetFileServerAddr implements drive.FileSystemForRemote. |
| 63 | func (s *FileSystemForRemote) SetFileServerAddr(addr string) { |
nothing calls this directly
no outgoing calls
no test coverage detected