rclone

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MountService

type MountService struct {
	// contains filtered or unexported fields
}

MountService handles rclone mount operations using RC server

func NewMountService

func NewMountService(cfm *config.Manager) *MountService

NewMountService creates a new mount service

func (*MountService) GetManager

func (s *MountService) GetManager() *rclonecli.Manager

GetManager returns the underlying rclone manager for RC operations

func (*MountService) GetStatus

func (s *MountService) GetStatus() rclonecli.MountInfo

GetStatus returns the current mount status

func (*MountService) Mount

func (s *MountService) Mount(ctx context.Context) error

Mount creates the rclone mount

func (*MountService) RefreshPath

func (s *MountService) RefreshPath(ctx context.Context, path string) error

RefreshPath refreshes a path in the VFS cache

func (*MountService) Start

func (s *MountService) Start(ctx context.Context) error

Start starts the mount if enabled in configuration

func (*MountService) StartRCServer

func (s *MountService) StartRCServer(ctx context.Context) error

StartRCServer starts the RC server if RClone is enabled but doesn't create a mount

func (*MountService) Stop

func (s *MountService) Stop(ctx context.Context) error

Stop gracefully stops the mount service

func (*MountService) Unmount

func (s *MountService) Unmount(ctx context.Context) error

Unmount stops the rclone mount

Jump to

Keyboard shortcuts

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