Tree
Object Hierarchy:
Description:
Namespace: Osinfo
Package: libosinfo-1.0
Content:
Properties:
- public string architecture { owned get; set; }
The target hardware architecture of this tree.
- public string boot_iso_path { owned get; set; }
The path to the boot ISO in the install tree
- public bool has_treeinfo { get; set; }
Whether the tree has treeinfo or not
- public string initrd_path { owned get; set; }
The path to the initrd image in the install tree.
- public string kernel_path { owned get; set; }
The path to the kernel image in the install tree.
- public Os os { owned get; set; }
Os information for the current tree.
- public string treeinfo_arch { owned get; set; }
The treeinfo arch
- public string treeinfo_family { owned get; set; }
The treeinfo family
- public string treeinfo_variant { owned get; set; }
The treeinfo variant
- public string treeinfo_version { owned get; set; }
The treeinfo version
- public string url { owned get; set; }
The URL to this tree.
Static methods:
- public static Tree create_from_location (string location, Cancellable? cancellable = null) throws Error
Creates a new Tree for installation tree at
location
. - public static async Tree create_from_location_async (string location, int priority, Cancellable? cancellable) throws Error
Asynchronous variant of create_from_location.
- public static Tree create_from_treeinfo (string treeinfo, string location) throws Error
Creates a new Tree for installation tree represented by
treeinfo
.
Creation methods:
Methods:
- public unowned string get_architecture ()
Retrieves the target hardware architecture of the OS this provides.
- public unowned string get_boot_iso_path ()
Retrieves the path to the boot_iso image in the install tree.
- public unowned string get_initrd_path ()
Retrieves the path to the initrd image in the install tree.
- public unowned string get_kernel_path ()
Retrieves the path to the kernel image in the install tree.
- public Os get_os ()
- public OsVariantList get_os_variants ()
Gets the variants of the associated operating system.
- public unowned string get_treeinfo_arch ()
If this has treeinfo, this function retrieves the expected architecture.
- public unowned string get_treeinfo_family ()
If this has treeinfo, this function retrieves the expected family.
- public unowned string get_treeinfo_variant ()
If this has treeinfo, this function retrieves the expected variant.
- public unowned string get_treeinfo_version ()
If this has treeinfo, this function retrieves the expected version.
- public unowned string get_url ()
The URL to the this
- public bool matches (Tree reference)
Determines whether the metadata for the unidentified this is a match for the
reference
tree. - public void set_os (Os os)
Sets the Os associated to the Tree instance.
Inherited Members:
All known members inherited from class Osinfo.Entity
All known members inherited from class GLib.Object