blob: 51a62f640e5e77542724e2b8f0b80abdba8ef644 [file] [log] [blame]
// Copyright 2017 The Fuchsia 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 pkg
import (
"fmt"
"os"
)
// Package represents a package installed or desired to be installed
type Package struct {
Name string
Version string
Merkle string
}
func (p *Package) String() string {
return fmt.Sprintf("Package[name:%q, version:%q, merkle:%q]", p.Name,
p.Version, p.Merkle)
}
// ReadPkgUpdate will return the bytes for a Package from the Daemon's internal
// store. NOTE: Currently not implemented.
func ReadPkgUpdate(update string) *os.File {
return nil
}