rclone: github.com/ncw/rclone/vfs/vfsflags Index | Files

package vfsflags

import "github.com/ncw/rclone/vfs/vfsflags"

Package vfsflags implements command line flags to set up a vfs

Index

Package Files

filemode.go vfsflags.go vfsflags_unix.go

Variables

var (
    Opt       = vfs.DefaultOpt
    DirPerms  = &FileMode{Mode: &Opt.DirPerms}
    FilePerms = &FileMode{Mode: &Opt.FilePerms}
)

Options set by command line flags

func AddFlags Uses

func AddFlags(flagSet *pflag.FlagSet)

AddFlags adds the non filing system specific flags to the command

type FileMode Uses

type FileMode struct {
    Mode *os.FileMode
}

FileMode is a command line friendly os.FileMode

func (*FileMode) Set Uses

func (x *FileMode) Set(s string) error

Set a FileMode

func (*FileMode) String Uses

func (x *FileMode) String() string

String turns FileMode into a string

func (*FileMode) Type Uses

func (x *FileMode) Type() string

Type of the value

Package vfsflags imports 9 packages (graph) and is imported by 34 packages. Updated 2019-08-22. Refresh now. Tools for package owners.