func (chk *WalkCompare) Gather(ctx context.Context, path string, opts map[string]string) ([]byte, error) {
	walkData, err := performWalk(ctx, path)
	if err != nil {
		return nil, errors.Wrap(err, "walk with hashing error during gather phase")
	}

	// Store the walk data along with the snapshot ID
	b, err := proto.Marshal(walkData)

	return b, errors.Wrap(err, "walk data proto marshal error")
}
// Gather meets the checker.Comparer interface. It performs a fswalker Walk
// and returns the resulting Walk as a protobuf Marshaled buffer.
Gather meets the checker.Comparer interface. It performs a fswalker Walk
and returns the resulting Walk as a protobuf Marshaled buffer.
// Gather meets the checker . Comparer interface . It performs a fswalker Walk // and returns the resulting Walk as a protobuf Marshaled buffer .
func (chk *WalkCompare) Gather(ctx context.Context, path string, opts map[string]string) ([]byte, error) {
	walkData, err := performWalk(ctx, path)
	if err != nil {
		return nil, errors.Wrap(err, "walk with hashing error during gather phase")
	}
	b, err := proto.Marshal(walkData)
	return b, errors.Wrap(err, "walk data proto marshal error")
}
func ( chk * WalkCompare ) Gather ( ctx context . Context , path string , opts map [ string ] string ) ( [ ] byte , error ) { walkData , err := performWalk ( ctx , path ) if err != nil { return nil , errors . Wrap ( err , " " ) } b , err := proto . Marshal ( walkData ) return b , errors . Wrap ( err , " " ) }
Gather meets the checker.Comparer interface.
Gather meets the checker . Comparer interface .
// Store the walk data along with the snapshot ID