[#fsbridge-AbsPathJoin]
= xref:fsbridge.adoc[fsbridge]::AbsPathJoin
:relfileprefix: ../
:mrdocs:

Helper function for joining two paths

== Synopsis

Declared in `&lt;util&sol;fs&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:fs/path.adoc[fs::path]
AbsPathJoin(
    xref:fs/path.adoc[fs::path] const& base,
    xref:fs/path.adoc[fs::path] const& path);
----

== Return Value

path unchanged if it is an absolute path, otherwise returns base joined with path&period; Returns base unchanged if path is empty&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *base* [in]
| Base path
| *path* [in]
| Path to combine with base
|===

== Preconditions

* Base path must be absolute

== Postconditions

* Returned path will always be absolute


[.small]#Created with https://www.mrdocs.com[MrDocs]#
