MCPcopy Create free account
hub / github.com/plexdrive/plexdrive / Close

Method Close

drive/cache.go:83–87  ·  view source on GitHub ↗

Close closes all handles

()

Source from the content-addressed store, hash-verified

81
82// Close closes all handles
83func (c *Cache) Close() error {
84 Log.Debugf("Closing cache file")
85 c.db.Close()
86 return nil
87}
88
89// LoadToken loads a token from cache
90func (c *Cache) LoadToken() (*oauth2.Token, error) {

Callers 3

mainFunction · 0.95
MountFunction · 0.80
downloadFromAPIFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected