Skip to content

There is a mixup of lines in the documentation of image_layer.py #1069

Description

@maxhbr

I think the lines in the following documentation are somehow not in correct order. Maybe chunks were added between multi line statements. Especially import_str: is broken.

diff_id: the sha256 of the layer filesystem
fs_hash: the hashed contents of the layer filesystem - default to empty
string if there is no tarball of the layer filesystem
packages: list of objects of type Package (package.py)
origins: list of NoticeOrigin objects (origins.py)
tar_file: the path to the layer filesystem tarball
created_by: sometimes the metadata will contain a created_by
key containing the command that created the filesystem layer
import_image: if the layer is imported from another image
this is a pointer to that image. In Python terms it is just the
name of the Image object or any object that uses this layer
Based on how container image layers are created, this is usually the
last layer of the image that was imported
import_str: The string from a build tool (like a Dockerfile) that
layer_index: The index position of the layer in relationship to the
other layers in the image. The base OS would be layer 1.
created this layer by importing it from another image
files_analyzed: whether the files in this layer are analyzed or not
analyzed_output: the result of the file analysis
files: a list of files included in the image layer
checksum_type: the digest algorithm used to create the image layer
checksum
checksum: the checksum
checksums: a dictionary of the form {<checksum_type>: <checksum>}
extension_info: a dictionary contains extension info such as extension
header info{<headers>: <set_of_header_strings>}

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueA good first issue to tackle if you are new to the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions