about summary refs log tree commit diff
path: root/pkg/resources/refs.go
blob: 3ede9e70af93614e9782c92b7996f781419fb092 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package resources

import (
	"context"

	"github.com/docker/go-p9p"
)

type Ref interface {
	Info() p9p.Dir
	Get(name string) (Ref, error)
	Read(ctx context.Context, p []byte, offset int64) (n int, err error)
}