clone

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidGitRepoURL

func IsValidGitRepoURL(urlStr string) (*url.URL, error)

func RemoveFromModelStorageSpec

func RemoveFromModelStorageSpec(inputs []model.StorageSpec, url string) []model.StorageSpec

func RepoExistsOnIPFSGivenURL

func RepoExistsOnIPFSGivenURL(ctx context.Context, urlStr string) (string, error)

Types

type Clone

type Clone struct {
	URL string
}

func NewCloneClient

func NewCloneClient() (*Clone, error)

type Response

type Response struct {
	CID string
}

Jump to

Keyboard shortcuts

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