MCPcopy Create free account
hub / github.com/tailscale/tailscale / FileSystemForRemote

Struct FileSystemForRemote

drive/driveimpl/remote_impl.go:48–60  ·  view source on GitHub ↗

FileSystemForRemote implements drive.FileSystemForRemote.

Source from the content-addressed store, hash-verified

46
47// FileSystemForRemote implements drive.FileSystemForRemote.
48type 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.
63func (s *FileSystemForRemote) SetFileServerAddr(addr string) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected