Closed jamesjmurtagh closed 3 years ago
Signed-off-by: James james.murtagh@vorteil.io
Set the modtime of files in (pkg/vio/tree.go) (*TreeNode).MarshalJSON function to time.Time{}. Also set size to 0 if file is a directory.
pkg/vio/tree.go
(*TreeNode).MarshalJSON
time.Time{}
Allows for reproducible package refs from the same source.
Signed-off-by: James james.murtagh@vorteil.io
Description
Set the modtime of files in (
pkg/vio/tree.go
)(*TreeNode).MarshalJSON
function totime.Time{}
. Also set size to 0 if file is a directory.Purpose
Allows for reproducible package refs from the same source.