FSObject is an object from the packfile on the filesystem.
| 12 | |
| 13 | // FSObject is an object from the packfile on the filesystem. |
| 14 | type 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. |
| 27 | func NewFSObject( |
nothing calls this directly
no outgoing calls
no test coverage detected