scp

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 18 Imported by: 3

Documentation

Index

Constants

View Source
const ProviderScheme = "scp"

ProviderScheme represents scp URL scheme for this provider

View Source
const SSHProviderScheme = "ssh"

SSHProviderScheme represents ssh URL scheme for this provider

Variables

View Source
var NoSuchFileOrDirectoryError = errors.New("No such file or directory")

NoSuchFileOrDirectoryError represents no such file or directory error

Functions

func NewService

func NewService(config *cred.Config) *service

NewService create a new gc storage service

Types

type Parser

type Parser struct {
	IsoTimeStyle bool
}

Parser represents fileinfo parser from stdout

func (*Parser) HasNextTokenInout

func (p *Parser) HasNextTokenInout(nextTokenPosition int, line string) bool

func (*Parser) Parse

func (p *Parser) Parse(parsedURL *url.URL, stdout string, isURLDir bool) ([]storage.Object, error)

Jump to

Keyboard shortcuts

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