Skip to content
Snippets Groups Projects
Commit 05c01c0a authored by Steve Abrams's avatar Steve Abrams
Browse files

Include file digests in package detail presenter

Include md5, sha1, and sha256 file values in
the package detail view presenter.
parent 9a0212d1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -42,7 +42,11 @@ def build_package_file_view(package_file)
created_at: package_file.created_at,
download_path: package_file.download_path,
file_name: package_file.file_name,
size: package_file.size
size: package_file.size,
file_md5: package_file.file_md5,
file_sha1: package_file.file_sha1,
file_sha256: package_file.file_sha256
}
 
file_view[:pipelines] = build_pipeline_infos(package_file.pipelines) if package_file.pipelines.present?
Loading
Loading
Loading
Loading
@@ -16,7 +16,10 @@
created_at: file.created_at,
download_path: file.download_path,
file_name: file.file_name,
size: file.size
size: file.size,
file_md5: file.file_md5,
file_sha1: file.file_sha1,
file_sha256: file.file_sha256
}
end
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment