windows

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package windows implements Windows ISO-13346 repository importer.

Index

Constants

View Source
const (
	// RepoName contains the repository name.
	RepoName = "windows"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

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

Repo holds data related to a Windows repository.

func NewRepo

func NewRepo(ctx context.Context, repositoryPath string) (*Repo, error)

NewRepo returns new instance of a Windows ISO repository.

func (*Repo) DiscoverRepo

func (r *Repo) DiscoverRepo() ([]hashr.Source, error)

DiscoverRepo traverses the repository and looks for .iso files.

func (*Repo) RepoName

func (r *Repo) RepoName() string

RepoName returns repository name.

func (*Repo) RepoPath

func (r *Repo) RepoPath() string

RepoPath returns repository path.

Jump to

Keyboard shortcuts

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