populate

package
v0.0.0-...-58c93fa Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package populate holds the code to augment a partial R/W checkout with a symlink forest into a SlothFS workspace.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checkout

func Checkout(ro, rw string) (added, changed []string, err error)

Checkout updates a RW dir with new symlinks to the given RO dir. Returns the files that should be touched.

func DerefManifest

func DerefManifest(service *gitiles.Service, mf *manifest.Manifest) error

DerefManifest uses the Gitiles JSON interface to fill in Project.Revision and Project.CloneURL in the given manifest.

func FetchManifest

func FetchManifest(service *gitiles.Service, repo, branch string) (*manifest.Manifest, error)

FetchManifest gets the default manifest file from a Gitiles server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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