Tree
Object Hierarchy:
Description:
[
CCode ( type_id =
"osinfo_tree_get_type ()" ) ]
public class Tree :
Entity
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:
Creation methods:
- public Tree (string id, string architecture)
Create a new tree entity
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
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref