You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p><codeclass="literal">modulemd_module_stream_read_file</code> has been deprecated since version 2.11 and should not be used in newly-written code.</p>
<p>Create a <aclass="link" href="ModulemdModuleStream.html" title="Modulemd.ModuleStream"><spanclass="type">ModulemdModuleStream</span></a> object from a YAML file.</p>
388
+
<p>Note: This function also reads modulemd-packager v2 and v3 documents, which
389
+
are transparently returned as <aclass="link" href="ModulemdModuleStream.html" title="Modulemd.ModuleStream"><spanclass="type">ModulemdModuleStream</span></a> (V2) objects. However,
390
+
if a modulemd-packager v3 document (<aclass="link" href="modulemd-2.0-Modulemd.PackagerV3.html#ModulemdPackagerV3"><spanclass="type">ModulemdPackagerV3</span></a>) is encountered and
391
+
it uses buildopts (<aclass="link" href="modulemd-2.0-Modulemd.Buildopts.html#ModulemdBuildopts"><spanclass="type">ModulemdBuildopts</span></a>) in one or more build configurations,
392
+
only the buildopts present in the first listed configuration (if any) will be
393
+
applied to the returned <aclass="link" href="modulemd-2.0-Modulemd.ModuleStreamV2.html#ModulemdModuleStreamV2"><spanclass="type">ModulemdModuleStreamV2</span></a> object.</p>
<p><codeclass="literal">modulemd_module_stream_read_string</code> has been deprecated since version 2.11 and should not be used in newly-written code.</p>
<p>Create a <aclass="link" href="ModulemdModuleStream.html" title="Modulemd.ModuleStream"><spanclass="type">ModulemdModuleStream</span></a> object from a YAML string.</p>
463
+
<p>Note: This function also reads modulemd-packager v2 and v3 documents, which
464
+
are transparently returned as <aclass="link" href="ModulemdModuleStream.html" title="Modulemd.ModuleStream"><spanclass="type">ModulemdModuleStream</span></a> (V2) objects. However,
465
+
if a modulemd-packager v3 document (<aclass="link" href="modulemd-2.0-Modulemd.PackagerV3.html#ModulemdPackagerV3"><spanclass="type">ModulemdPackagerV3</span></a>) is encountered and
466
+
it uses buildopts (<aclass="link" href="modulemd-2.0-Modulemd.Buildopts.html#ModulemdBuildopts"><spanclass="type">ModulemdBuildopts</span></a>) in one or more build configurations,
467
+
only the buildopts present in the first listed configuration (if any) will be
468
+
applied to the returned <aclass="link" href="modulemd-2.0-Modulemd.ModuleStreamV2.html#ModulemdModuleStreamV2"><spanclass="type">ModulemdModuleStreamV2</span></a> object.</p>
Copy file name to clipboardExpand all lines: libmodulemd/latest/ch01.html
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,9 @@
27
27
<spanclass="refentrytitle"><ahref="modulemd-2.0-Modulemd.html">Modulemd</a></span><spanclass="refpurpose"> — User's Guide for libmodulemd</span>
28
28
</dt>
29
29
<dt>
30
+
<spanclass="refentrytitle"><ahref="modulemd-2.0-Modulemd.BuildConfig.html">Modulemd.BuildConfig</a></span><spanclass="refpurpose"> — Internal representation of a module build configuration</span>
31
+
</dt>
32
+
<dt>
30
33
<spanclass="refentrytitle"><ahref="modulemd-2.0-Modulemd.Buildopts.html">Modulemd.Buildopts</a></span><spanclass="refpurpose"> — Provides hints to the build-system on how to build this module.</span>
31
34
</dt>
32
35
<dt>
@@ -78,6 +81,10 @@
78
81
by a modulemd YAML document of version 2.</span>
79
82
</dt>
80
83
<dt>
84
+
<spanclass="refentrytitle"><ahref="modulemd-2.0-Modulemd.PackagerV3.html">Modulemd.PackagerV3</a></span><spanclass="refpurpose"> — Internal representation of the modulemd-packager v3
85
+
format.</span>
86
+
</dt>
87
+
<dt>
81
88
<spanclass="refentrytitle"><ahref="modulemd-2.0-Modulemd.Profile.html">Modulemd.Profile</a></span><spanclass="refpurpose"> — Stores profile information for a module stream.</span>
<spanclass="refentrytitle"><ahref="modulemd-2.0-Modulemd.BuildConfig.html">Modulemd.BuildConfig</a></span><spanclass="refpurpose"> — Internal representation of a module build configuration</span>
<spanclass="refentrytitle"><ahref="modulemd-2.0-Modulemd.Buildopts-(Private).html">Modulemd.Buildopts (Private)</a></span><spanclass="refpurpose"> — <spanclass="type">ModulemdBuildopts</span> methods that should be used only
@@ -79,8 +79,8 @@
79
79
used by internal consumers.</span>
80
80
</dt>
81
81
<dt>
82
-
<spanclass="refentrytitle"><ahref="modulemd-2.0-Modulemd.PackagerV3.html">Modulemd.PackagerV3</a></span><spanclass="refpurpose"> — Internal representation of the modulemd-packager v3
83
-
format.</span>
82
+
<spanclass="refentrytitle"><ahref="modulemd-2.0-Modulemd.PackagerV3-(Private).html">Modulemd.PackagerV3 (Private)</a></span><spanclass="refpurpose"> — <spanclass="type">ModulemdPackagerV3</span> methods that should only be used by
83
+
internal consumers.</span>
84
84
</dt>
85
85
<dt>
86
86
<spanclass="refentrytitle"><ahref="modulemd-2.0-Modulemd.Profile-(Private).html">Modulemd.Profile (Private)</a></span><spanclass="refpurpose"> — <spanclass="type">ModulemdProfile</span> methods that should be used only
0 commit comments