go: go.chromium.org/chromiumos/infra/go/internal/repo_util Index | Files

package repo_util

import "go.chromium.org/chromiumos/infra/go/internal/repo_util"

Copyright 2019 The Chromium OS Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.


Package Files


func FindRepoCheckoutRoot Uses

func FindRepoCheckoutRoot(root string) string

type Repository Uses

type Repository struct {
    Root string

func Initialize Uses

func Initialize(root, manifestUrl, repoToolPath string) (Repository, error)

func (*Repository) Manifest Uses

func (r *Repository) Manifest(repoToolPath string) (repo.Manifest, error)

Manifest runs `repo manifest` in the repository Root and returns the results as a repo.Manifest struct.

func (*Repository) SyncToFile Uses

func (r *Repository) SyncToFile(manifestPath, repoToolPath string) error

Sync repo at Root to manifest at manifestPath.

Package repo_util imports 11 packages (graph) and is imported by 1 packages. Updated 2019-07-18. Refresh now. Tools for package owners.