drive

package
v1.0.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClientFactory = func() (drive.DriveClientInterface, error) {
	return drive.NewClient(context.Background())
}

ClientFactory is the function used to create Drive clients. Override in tests to inject mocks.

Functions

func NewCommand

func NewCommand() *cobra.Command

NewCommand returns the drive parent command with subcommands

Types

type TreeNode added in v1.0.24

type TreeNode struct {
	ID       string      `json:"id"`
	Name     string      `json:"name"`
	Type     string      `json:"type"`
	Children []*TreeNode `json:"children,omitempty"`
}

TreeNode represents a node in the folder tree

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL