MCPcopy Index your code
hub / github.com/plexdrive/plexdrive / getClient

Method getClient

drive/drive.go:258–260  ·  view source on GitHub ↗

getClient gets a new Google Drive client

()

Source from the content-addressed store, hash-verified

256
257// getClient gets a new Google Drive client
258func (d *Client) getClient() (*gdrive.Service, error) {
259 return gdrive.NewService(d.context, option.WithHTTPClient(d.config.Client(d.context, d.token)))
260}
261
262// GetNativeClient gets a native http client
263func (d *Client) GetNativeClient() *http.Client {

Callers 5

checkChangesMethod · 0.95
GetFileByIdMethod · 0.95
RemoveMethod · 0.95
MkdirMethod · 0.95
RenameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected