MCPcopy
hub / github.com/go-git/go-git / FSObject

Struct FSObject

plumbing/format/packfile/fsobject.go:14–24  ·  view source on GitHub ↗

FSObject is an object from the packfile on the filesystem.

Source from the content-addressed store, hash-verified

12
13// FSObject is an object from the packfile on the filesystem.
14type FSObject struct {
15 hash plumbing.Hash
16 offset int64
17 size int64
18 typ plumbing.ObjectType
19 index idxfile.Index
20 fs billy.Filesystem
21 path string
22 cache cache.Object
23 largeObjectThreshold int64
24}
25
26// NewFSObject creates a new filesystem object.
27func NewFSObject(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected