code: func NewFSObject(
  	hash plumbing.Hash,
  	finalType plumbing.ObjectType,
  	offset int64,
  	contentSize int64,
  	index idxfile.Index,
  	fs billy.Filesystem,
  	path string,
  	cache cache.Object,
  ) *FSObject {
  	return &FSObject{
  		hash:   hash,
  		offset: offset,
  		size:   contentSize,
  		typ:    finalType,
  		index:  index,
  		fs:     fs,
  		path:   path,
  		cache:  cache,
  	}
  }
docs: // NewFSObject creates a new filesystem object.