fileserver

package
v0.0.0-...-10bec2a Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FixedPathProvider

type FixedPathProvider struct {
}

FixedPathProvider represents the Provider implementation corresponding to a generic file server asset with fixed parent path

func (FixedPathProvider) Bump

func (provider FixedPathProvider) Bump(url, hash, version string) (string, string, error)

Bump returns the bump of the given url and the updated associated version or, if unable, an error

func (FixedPathProvider) Hashes

func (provider FixedPathProvider) Hashes() bool

Hashes returns whether or not the provider uses source mapping value of a source as an hash

func (FixedPathProvider) Name

func (provider FixedPathProvider) Name() string

Name returns the name ID of the provider

func (FixedPathProvider) Support

func (provider FixedPathProvider) Support(url, version string) bool

Support returns true if the given url string is supported by the provider

type VariablePathProvider

type VariablePathProvider struct {
}

VariablePathProvider represents the Provider implementation corresponding to a generic file server asset with variable parent path

func (VariablePathProvider) Bump

func (provider VariablePathProvider) Bump(url, hash, version string) (string, string, error)

Bump returns the bump of the given url and the updated associated version or, if unable, an error

func (VariablePathProvider) Hashes

func (provider VariablePathProvider) Hashes() bool

Hashes returns whether or not the provider uses source mapping value of a source as an hash

func (VariablePathProvider) Name

func (provider VariablePathProvider) Name() string

Name returns the name ID of the provider

func (VariablePathProvider) Support

func (provider VariablePathProvider) Support(url, version string) bool

Support returns true if the given url string is supported by the provider

Jump to

Keyboard shortcuts

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