You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2018/07/24 20:42:15 UTC

[1/3] mesos-site git commit: Updated the website built from mesos SHA: 9047fdc.

Repository: mesos-site
Updated Branches:
  refs/heads/asf-site f2faa6de9 -> b8e8dd48a


http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/src_2slave_2state_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/src_2slave_2state_8hpp_source.html b/content/api/latest/c++/src_2slave_2state_8hpp_source.html
index a0340a8..1890002 100644
--- a/content/api/latest/c++/src_2slave_2state_8hpp_source.html
+++ b/content/api/latest/c++/src_2slave_2state_8hpp_source.html
@@ -116,7 +116,7 @@
 <div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1state_html_a1607ea983f882e98da9653a6bcc6513b"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1state.html#a1607ea983f882e98da9653a6bcc6513b">mesos::internal::slave::state::recover</a></div><div class="ttdeci">Try&lt; State &gt; recover(const std::string &amp;rootDir, bool strict)</div></div>
 <div class="ttc" id="structmesos_1_1internal_1_1slave_1_1state_1_1FrameworkState_html_acef705e489dcff53f85e350c76b5e994"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1state_1_1FrameworkState.html#acef705e489dcff53f85e350c76b5e994">mesos::internal::slave::state::FrameworkState::errors</a></div><div class="ttdeci">unsigned int errors</div><div class="ttdef"><b>Definition:</b> state.hpp:329</div></div>
 <div class="ttc" id="structmesos_1_1internal_1_1slave_1_1state_1_1TaskState_html_ab88ce30e1cafe8719e7aa069df82df16"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1state_1_1TaskState.html#ab88ce30e1cafe8719e7aa069df82df16">mesos::internal::slave::state::TaskState::info</a></div><div class="ttdeci">Option&lt; Task &gt; info</div><div class="ttdef"><b>Definition:</b> state.hpp:257</div></div>
-<div class="ttc" id="classPath_html_a0449e93ffb615ef7fd198ef03dd1100c"><div class="ttname"><a href="classPath.html#a0449e93ffb615ef7fd198ef03dd1100c">Path::dirname</a></div><div class="ttdeci">std::string dirname() const </div><div class="ttdoc">Extracts the component up to, but not including, the final &amp;#39;/&amp;#39;. </div><div class="ttdef"><b>Definition:</b> path.hpp:238</div></div>
+<div class="ttc" id="classPath_html_a0449e93ffb615ef7fd198ef03dd1100c"><div class="ttname"><a href="classPath.html#a0449e93ffb615ef7fd198ef03dd1100c">Path::dirname</a></div><div class="ttdeci">std::string dirname() const </div><div class="ttdoc">Extracts the component up to, but not including, the final &amp;#39;/&amp;#39;. </div><div class="ttdef"><b>Definition:</b> path.hpp:241</div></div>
 <div class="ttc" id="structmesos_1_1internal_1_1slave_1_1state_1_1FrameworkState_html_acb8551f77850aa0361034dbcb2bc3c66"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1state_1_1FrameworkState.html#acb8551f77850aa0361034dbcb2bc3c66">mesos::internal::slave::state::FrameworkState::id</a></div><div class="ttdeci">FrameworkID id</div><div class="ttdef"><b>Definition:</b> state.hpp:321</div></div>
 <div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1state_html_adeb89c1623e8d5af457b5b130aceac1d"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1state.html#adeb89c1623e8d5af457b5b130aceac1d">mesos::internal::slave::state::read</a></div><div class="ttdeci">Result&lt; T &gt; read(const std::string &amp;path)</div><div class="ttdef"><b>Definition:</b> state.hpp:81</div></div>
 <div class="ttc" id="namespaceos_html_aa1d97ff0a93229e1fe6b33e3e2d567f7"><div class="ttname"><a href="namespaceos.html#aa1d97ff0a93229e1fe6b33e3e2d567f7">os::read</a></div><div class="ttdeci">Result&lt; std::string &gt; read(int_fd fd, size_t size)</div><div class="ttdef"><b>Definition:</b> read.hpp:55</div></div>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/uri__disk__profile__adaptor_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/uri__disk__profile__adaptor_8hpp_source.html b/content/api/latest/c++/uri__disk__profile__adaptor_8hpp_source.html
index 9b18d6b..109a530 100644
--- a/content/api/latest/c++/uri__disk__profile__adaptor_8hpp_source.html
+++ b/content/api/latest/c++/uri__disk__profile__adaptor_8hpp_source.html
@@ -78,7 +78,7 @@
 <div class="ttc" id="resource__provider_2storage_2disk__profile__adaptor_8hpp_html"><div class="ttname"><a href="resource__provider_2storage_2disk__profile__adaptor_8hpp.html">disk_profile_adaptor.hpp</a></div></div>
 <div class="ttc" id="classOption_html_a21358442c0fac1cc978a67a9a9089a79"><div class="ttname"><a href="classOption.html#a21358442c0fac1cc978a67a9a9089a79">Option::get</a></div><div class="ttdeci">const T &amp; get() const &amp;</div><div class="ttdef"><b>Definition:</b> option.hpp:118</div></div>
 <div class="ttc" id="classmesos_1_1DiskProfileAdaptor_html"><div class="ttname"><a href="classmesos_1_1DiskProfileAdaptor.html">mesos::DiskProfileAdaptor</a></div><div class="ttdoc">This module is used by Storage Resource Providers to translate the &quot;profile&quot; field of a Resource::Dis...</div><div class="ttdef"><b>Definition:</b> disk_profile_adaptor.hpp:52</div></div>
-<div class="ttc" id="classPath_html_a240c7b71a23c8e97b5490dbae75cc948"><div class="ttname"><a href="classPath.html#a240c7b71a23c8e97b5490dbae75cc948">Path::absolute</a></div><div class="ttdeci">bool absolute() const </div><div class="ttdef"><b>Definition:</b> path.hpp:306</div></div>
+<div class="ttc" id="classPath_html_a240c7b71a23c8e97b5490dbae75cc948"><div class="ttname"><a href="classPath.html#a240c7b71a23c8e97b5490dbae75cc948">Path::absolute</a></div><div class="ttdeci">bool absolute() const </div><div class="ttdef"><b>Definition:</b> path.hpp:309</div></div>
 <div class="ttc" id="option_8hpp_html"><div class="ttname"><a href="option_8hpp.html">option.hpp</a></div></div>
 <div class="ttc" id="classTry_html_aec4a11ddd3c036e889d90b7eb6258ba7"><div class="ttname"><a href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">Try::error</a></div><div class="ttdeci">static Try error(const E &amp;e)</div><div class="ttdef"><b>Definition:</b> try.hpp:42</div></div>
 <div class="ttc" id="future_8hpp_html"><div class="ttname"><a href="future_8hpp.html">future.hpp</a></div></div>
@@ -102,7 +102,7 @@
 <div class="ttc" id="classprocess_1_1Owned_html"><div class="ttname"><a href="classprocess_1_1Owned.html">process::Owned</a></div><div class="ttdef"><b>Definition:</b> owned.hpp:36</div></div>
 <div class="ttc" id="namespacestrings_html_aa5513faacb213c7e097c0d43af43d9c7"><div class="ttname"><a href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a></div><div class="ttdeci">bool startsWith(const std::string &amp;s, const std::string &amp;prefix)</div><div class="ttdef"><b>Definition:</b> strings.hpp:381</div></div>
 <div class="ttc" id="classprocess_1_1Process_html"><div class="ttname"><a href="classprocess_1_1Process.html">process::Process</a></div><div class="ttdef"><b>Definition:</b> process.hpp:501</div></div>
-<div class="ttc" id="classPath_html_a9d36a94d674e3f889eb8f46dc7a156b8"><div class="ttname"><a href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">Path::string</a></div><div class="ttdeci">const std::string &amp; string() const </div><div class="ttdef"><b>Definition:</b> path.hpp:317</div></div>
+<div class="ttc" id="classPath_html_a9d36a94d674e3f889eb8f46dc7a156b8"><div class="ttname"><a href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">Path::string</a></div><div class="ttdeci">const std::string &amp; string() const </div><div class="ttdef"><b>Definition:</b> path.hpp:320</div></div>
 <div class="ttc" id="include_2csi_2spec_8hpp_html"><div class="ttname"><a href="include_2csi_2spec_8hpp.html">spec.hpp</a></div></div>
 <div class="ttc" id="3rdparty_2libprocess_2include_2process_2ssl_2flags_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2ssl_2flags_8hpp.html">flags.hpp</a></div></div>
 <div class="ttc" id="libprocess_2include_2process_2process_8hpp_html"><div class="ttname"><a href="libprocess_2include_2process_2process_8hpp.html">process.hpp</a></div></div>


[2/3] mesos-site git commit: Updated the website built from mesos SHA: 9047fdc.

Posted by gi...@apache.org.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/path_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/path_8hpp_source.html b/content/api/latest/c++/path_8hpp_source.html
index 8afbbb5..bd2d211 100644
--- a/content/api/latest/c++/path_8hpp_source.html
+++ b/content/api/latest/c++/path_8hpp_source.html
@@ -52,40 +52,41 @@
 <div class="title">path.hpp</div>  </div>
 </div><!--header-->
 <div class="contents">
-<a href="path_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//</span></
 div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line">
 <a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#ifndef __STOUT_PATH_HPP__</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#define __STOUT_PATH_HPP__</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;<a class="code" h
 ref="stringify_8hpp.html">stout/stringify.hpp</a>&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="strings_8hpp.html">stout/strings.hpp</a>&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="3rdparty_2stout_2include_2stout_2os_2constants_8hpp.html">stout/os/constants.hpp</a>&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="namespacepath.html">   26</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacepath.html">path</a> {</div><div class="line"><a
  name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">// Converts a fully formed URI to a filename for the platform.</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">// On all platforms, the optional &quot;file://&quot; prefix is removed if it</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">// exists.</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">// On Windows, this also converts &quot;/&quot; characters to &quot;\&quot; characters.</span></div><div class="lin
 e"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// The Windows file system APIs don&#39;t work with &quot;/&quot; in the filename</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">// when using long paths (although they do work fine if the file</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">// path happens to be short).</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">// NOTE: Currently, Mesos uses URIs and files somewhat interchangably.</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">// For compatibility, lack of &quot;file://&quot; prefix is not considered an</span></div><div class=
 "line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">// error.</span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespacepath.html#af28fb9428732d97d43f6b02be4a712ea">   41</a></span>&#160;<span class="keyword">inline</span> std::string <a class="code" href="namespacepath.html#af28fb9428732d97d43f6b02be4a712ea">from_uri</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="namespaceuri.html">uri</a>)</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;{</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;  <span class="comment">// Remove the optional &quot;file://&quot; if it exists.</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;  <span class="comment">// TODO(coffler): Remove the `hostname` component.</span></div><div class="line"><a name="l00045"></a><span class="lineno">   
 45</span>&#160;  <span class="keyword">const</span> std::string <a class="code" href="namespacepath.html">path</a> = <a class="code" href="namespacestrings.html#a3fbaeb4d589c49ac115fab3412073ca7">strings::remove</a>(uri, <span class="stringliteral">&quot;file://&quot;</span>, <a class="code" href="namespacestrings.html#a6ebac6b171c6b20adb298cb020915b03ac5ca819908c72528657d7fb463db8a9a">strings::PREFIX</a>);</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#ifndef __WINDOWS__</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;  <span class="keywordflow">return</span> path;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  <span class="keywordflow">
 return</span> <a class="code" href="namespacestrings.html#a082f6de42f9c52047369e2ff80155eca">strings::replace</a>(path, <span class="stringliteral">&quot;/&quot;</span>, <span class="stringliteral">&quot;\\&quot;</span>);</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">#endif // __WINDOWS__</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;}</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">// Base case.</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">   56</a></span>&#160;<span class="keyword">inline</span> std::string <a class="code" href="namespacepath.html#aa86b
 16a2171cec90bb3337930513ef0f">join</a>(</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keyword">const</span> std::string&amp; path1,</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keyword">const</span> std::string&amp; path2,</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> _separator = <a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>)</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;{</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  <span class="keyword">const</span> std::string separator = <a class="code" href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(_separator);</div><div class="line"><a name="l00062"></a><span class="lineno"
 >   62</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacestrings.html#a3fbaeb4d589c49ac115fab3412073ca7">strings::remove</a>(path1, separator, <a class="code" href="namespacestrings.html#a6ebac6b171c6b20adb298cb020915b03a3772529a8ac366325b107aff7f7f1360">strings::SUFFIX</a>) +</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;         separator +</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;         <a class="code" href="namespacestrings.html#a3fbaeb4d589c49ac115fab3412073ca7">strings::remove</a>(path2, separator, <a class="code" href="namespacestrings.html#a6ebac6b171c6b20adb298cb020915b03ac5ca819908c72528657d7fb463db8a9a">strings::PREFIX</a>);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;}</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   
 67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Paths&gt;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="namespacepath.html#a1729e1b6a293ad05545aa75e73f71de6">   69</a></span>&#160;<span class="keyword">inline</span> std::string <a class="code" href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">join</a>(</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keyword">const</span> std::string&amp; path1,</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keyword">const</span> std::string&amp; path2,</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    Paths&amp;&amp;... <a class="code" href="namespaceos_1_1libraries.html#a41b3cb8b32c32ab2abf7a7aa62de9f18">paths</a>)</div><div cl
 ass="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;{</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">join</a>(path1, <a class="code" href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">join</a>(path2, std::forward&lt;Paths&gt;(<a class="code" href="namespaceos_1_1libraries.html#a41b3cb8b32c32ab2abf7a7aa62de9f18">paths</a>)...));</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;}</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="namespacepath.html#a1d72015b1e35ab52249f56386c42d1a4">   78</a></span>&#160;<span class="keyword">inline</span> std::string <a class="code" href=
 "namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">join</a>(<span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; <a class="code" href="namespaceos_1_1libraries.html#a41b3cb8b32c32ab2abf7a7aa62de9f18">paths</a>)</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;{</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  <span class="keywordflow">if</span> (paths.empty()) {</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keywordflow">return</span> <span class="stringliteral">&quot;&quot;</span>;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  }</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  std::string result = paths[0];</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>
 &#160;  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 1; i &lt; paths.size(); ++i) {</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    result = <a class="code" href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">join</a>(result, paths[i]);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  }</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;}</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="namespacepath.html#a09c4941618b3a4ea2dbfccf5fe9d3687">   96</a></span>&#160;<span class="keyword">inline</span> <spa
 n class="keywordtype">bool</span> <a class="code" href="namespacepath.html#a09c4941618b3a4ea2dbfccf5fe9d3687">absolute</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="namespacepath.html">path</a>)</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;{</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="preprocessor">#ifndef __WINDOWS__</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a>(path, <a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;  <span c
 lass="comment">// NOTE: We do not use `PathIsRelative` Windows utility function</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <span class="comment">// here because it does not support long paths.</span></div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  <span class="comment">// See https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx</span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;  <span class="comment">// for details on paths. In short, an absolute path for files on Windows</span></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;  <span class="comment">// looks like one of the following:</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <span cl
 ass="comment">//   * &quot;[A-Za-z]:\&quot;</span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  <span class="comment">//   * &quot;[A-Za-z]:/&quot;</span></div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="comment">//   * &quot;\\?\...&quot;</span></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  <span class="comment">//   * &quot;\\server\...&quot; where &quot;server&quot; is a network host.</span></div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  <span class="comment">// NOLINT(whitespace/line_length)</span></div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;  <span class="comment">// A uniform na
 ming convention (UNC) name of any format,</span></div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;  <span class="comment">// always starts with two backslash characters.</span></div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a>(path, <span class="stringliteral">&quot;\\\\&quot;</span>)) {</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;  }</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;  <span class="comment">// A disk designator with a slash, for example &quot;C:\&qu
 ot; or &quot;d:/&quot;.</span></div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  <span class="keywordflow">if</span> (path.length() &lt; 3) {</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;  }</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span> letter = path[0];</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;  <span class="keywordflow">if</span> (!((letter &gt;= <span class="charliteral">&#39;A&#39;</span> &amp;&amp; letter &lt;= <span class="charliteral">&#39;Z&#39;</span>) ||</div><div class="line"><a name="l00127"></a><span clas
 s="lineno">  127</span>&#160;        (letter &gt;= <span class="charliteral">&#39;a&#39;</span> &amp;&amp; letter &lt;= <span class="charliteral">&#39;z&#39;</span>))) {</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;  }</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;  std::string colon = path.substr(1, 2);</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;  <span class="keywordflow">return</span> colon == <span class="stringliteral">&quot;:\\&quot;</span> || colon == <span class="stringliteral">&quot;:/&quot;</span>;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="preprocessor">#endif // _
 _WINDOWS__</span></div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;}</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;} <span class="comment">// namespace path {</span></div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classPath.html">  145</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPath.html">Path</a></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;{</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classPath
 .html#af26cfab021ddf49af73da3b2beca85ac">  148</a></span>&#160;  <a class="code" href="classPath.html#af26cfab021ddf49af73da3b2beca85ac">Path</a>() : value() {}</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classPath.html#a91965ddddabd9a15374ab51f6847f8b6">  150</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classPath.html#a91965ddddabd9a15374ab51f6847f8b6">Path</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="namespacepath.html">path</a>)</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    : value(<a class="code" href="namespacestrings.html">strings</a>::<a class="code" href="namespacecgroups.html#abe24f34ebd9554eafc765b62c41fb74c">remove</a>(path, <span class="stringliteral">&quot;file://&quot;</span>, <a class="code" href="namespacestrings.html">strings</a>::<a cl
 ass="code" href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#abb8ab3e62de157d1a7a81e08888ec30cabf80c29a65453b2615d8f9bd83f8f3d6">PREFIX</a>)) {}</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;  <span class="comment">// TODO(cmaloney): Add more useful operations such as &#39;directoryname()&#39;,</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;  <span class="comment">// &#39;filename()&#39;, etc.</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00179"></a><span class="lineno"><a class="line" href="classPath.html#a11c34646ac636526f1b28b61057f3b1f">  179</a></span>&#160;  <span class="keyword">inline</span> std::string <a class="code" href="classPath.html#a11c34646ac636526f1b28b61057f3b1f">basename</a>()<span class="keyword"> cons
 t</span></div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;    <span class="keywordflow">if</span> (value.empty()) {</div><div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;      <span class="keywordflow">return</span> std::string(<span class="stringliteral">&quot;.&quot;</span>);</div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;    }</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;    <span class="keywordtype">size_t</span> end = value.size() - 1;</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    <span class="comment">// Remove trailing sla
 shes.</span></div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    <span class="keywordflow">if</span> (value[end] == <a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>) {</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;      end = value.find_last_not_of(<a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>, end);</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;      <span class="comment">// Paths containing only slashes result into &quot;/&quot;.</span></div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;      <span class="keywordflow">if</span> (end == std::string::npos) {</div><div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;        <span class="keyw
 ordflow">return</span> <a class="code" href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(<a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>);</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;      }</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    }</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    <span class="comment">// &#39;start&#39; should point towards the character after the last slash</span></div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    <span class="comment">// that is non trailing.</span></div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="namespacesystemd_1_1slices.html#a95aa197d8
 eed9f20dacb44f433b15f01">start</a> = value.find_last_of(<a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>, end);</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;</div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    <span class="keywordflow">if</span> (start == std::string::npos) {</div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;      start = 0;</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;      start++;</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;    }</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;    <span class=
 "keywordflow">return</span> value.substr(start, end + 1 - start);</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;  }</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;  <span class="comment">// TODO(hausdorff) Make sure this works on Windows for very short path names,</span></div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;  <span class="comment">// such as &quot;C:\Temp&quot;. There is a distinction between &quot;C:&quot; and &quot;C:\&quot;, the</span></div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;  <span class="comment">// former means &quot;current directory of the C drive&quot;, while the latter means</span></div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;  <span class="comment">// &quot;The root of the C drive&quot;. Also 
 make sure that UNC paths are handled.</span></div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;  <span class="comment">// Will probably need to use the Windows path functions for that.</span></div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="classPath.html#a0449e93ffb615ef7fd198ef03dd1100c">  238</a></span>&#160;<span class="comment"></span>  <span class="keyword">inline</span> std::string <a class="code" href="classPath.html#a0449e93ffb615ef7fd198ef03dd1100c">dirname</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;    <span class="keywordflow">if</span> (value.empty()) {</div><div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;      <span class="keywordflow">return</span> std::string(<span class="st
 ringliteral">&quot;.&quot;</span>);</div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;    }</div><div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    <span class="keywordtype">size_t</span> end = value.size() - 1;</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    <span class="comment">// Remove trailing slashes.</span></div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <span class="keywordflow">if</span> (value[end] == <a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>) {</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;      end = value.find_last_not_of(<a class="code" href="namespaceos.html#a493d7d8775f0e
 d778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>, end);</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    }</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;    <span class="comment">// Remove anything trailing the last slash.</span></div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    end = value.find_last_of(<a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>, end);</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    <span class="comment">// Paths containing no slashes result in &quot;.&quot;.</span></div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    <span class="keywordflow">if</span> (end == std::strin
 g::npos) {</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;      <span class="keywordflow">return</span> std::string(<span class="stringliteral">&quot;.&quot;</span>);</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    }</div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    <span class="comment">// Paths containing only slashes result in &quot;/&quot;.</span></div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <span class="keywordflow">if</span> (end == 0) {</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(<a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</
 a>);</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    }</div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;    <span class="comment">// &#39;end&#39; should point towards the last non slash character</span></div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;    <span class="comment">// preceding the last slash.</span></div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;    end = value.find_last_not_of(<a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>, end);</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;</div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    <span class="comment">// Paths containing no non slash characters result in &quot;/&quot;.</span></d
 iv><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    <span class="keywordflow">if</span> (end == std::string::npos) {</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(<a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>);</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    }</div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;</div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    <span class="keywordflow">return</span> value.substr(0, end + 1);</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;  }</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;</div><div class="line"><a name="l0
 0293"></a><span class="lineno"><a class="line" href="classPath.html#a46e804f0daca3c3a0fef137364aca5ea">  293</a></span>&#160;  <span class="keyword">inline</span> <a class="code" href="classOption.html">Option&lt;std::string&gt;</a> <a class="code" href="classPath.html#a46e804f0daca3c3a0fef137364aca5ea">extension</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;    std::string _basename = basename();</div><div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a> = _basename.rfind(<span class="charliteral">&#39;.&#39;</span>);</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;</div><div class="line"><a nam
 e="l00298"></a><span class="lineno">  298</span>&#160;    <span class="keywordflow">if</span> (_basename == <span class="stringliteral">&quot;.&quot;</span> || _basename == <span class="stringliteral">&quot;..&quot;</span> || index == std::string::npos) {</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="structNone.html">None</a>();</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;    }</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;    <span class="keywordflow">return</span> _basename.substr(index);</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;  }</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;</div><div class="line"><a name="l00305"></a><span class="lineno">
   305</span>&#160;  <span class="comment">// Checks whether the path is absolute.</span></div><div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="classPath.html#a240c7b71a23c8e97b5490dbae75cc948">  306</a></span>&#160;  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classPath.html#a240c7b71a23c8e97b5490dbae75cc948">absolute</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacepath.html#a09c4941618b3a4ea2dbfccf5fe9d3687">path::absolute</a>(value);</div><div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;  }</div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;</div><div class="line"><a name="l0
 0311"></a><span class="lineno">  311</span>&#160;  <span class="comment">// Implicit conversion from Path to string.</span></div><div class="line"><a name="l00312"></a><span class="lineno"><a class="line" href="classPath.html#a3d26816443f4e274700f715db64379ee">  312</a></span>&#160;  <span class="keyword">operator</span> std::string()<span class="keyword"> const</span></div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;    <span class="keywordflow">return</span> value;</div><div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;  }</div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;</div><div class="line"><a name="l00317"></a><span class="lineno"><a class="line" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">  317</a></span>&#160;  <span class="keyword">const</span> std::str
 ing&amp; <a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;    <span class="keywordflow">return</span> value;</div><div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;  }</div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;  std::string value;</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;};</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;</div><div class="line"><a name="l00326"></a><span cl
 ass="lineno">  326</span>&#160;</div><div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="path_8hpp.html#ad31aaa5ed4d55b1f295094e3fa84d769">  327</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="path_8hpp.html#ad31aaa5ed4d55b1f295094e3fa84d769">operator==</a>(<span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; left, <span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; right)</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;{</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;  <span class="keywordflow">return</span> left.<a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>() == right.<a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>();</div><div class="line"><a name="l00330"></a><span class="lineno
 ">  330</span>&#160;}</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;</div><div class="line"><a name="l00333"></a><span class="lineno"><a class="line" href="path_8hpp.html#a79f5bd235856dc07ee5980991200e646">  333</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="path_8hpp.html#a79f5bd235856dc07ee5980991200e646">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; left, <span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; right)</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;{</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;  <span class="keywordflow">return</span> !(left == right);</div><div class="line"><a name="l00336"></a><span class="lineno">  336</
 span>&#160;}</div><div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;</div><div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;</div><div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="path_8hpp.html#a71e4826c717e331e929eec4f3f01998d">  339</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="path_8hpp.html#a71e4826c717e331e929eec4f3f01998d">operator&lt;</a>(<span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; left, <span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; right)</div><div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;{</div><div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;  <span class="keywordflow">return</span> left.<a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>() &lt; ri
 ght.<a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>();</div><div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;}</div><div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;</div><div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;</div><div class="line"><a name="l00345"></a><span class="lineno"><a class="line" href="path_8hpp.html#a222005a87c0bb37fbabdc8effe38aed1">  345</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="path_8hpp.html#a222005a87c0bb37fbabdc8effe38aed1">operator&gt;</a>(<span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; left, <span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; right)</div><div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;{</div><div class="line"><a name="l00347"></a><span class="lin
 eno">  347</span>&#160;  <span class="keywordflow">return</span> right &lt; left;</div><div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;}</div><div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;</div><div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;</div><div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="path_8hpp.html#ae108a381c03097c921ee17af0f248c02">  351</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="path_8hpp.html#ae108a381c03097c921ee17af0f248c02">operator&lt;=</a>(<span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; left, <span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; right)</div><div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;{</div><div class="line"><a name="l00353"></a><span class="lineno">  
 353</span>&#160;  <span class="keywordflow">return</span> !(left &gt; right);</div><div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;}</div><div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;</div><div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;</div><div class="line"><a name="l00357"></a><span class="lineno"><a class="line" href="path_8hpp.html#a0a79d7788a7f0189a4a5b69b73dce859">  357</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="path_8hpp.html#a0a79d7788a7f0189a4a5b69b73dce859">operator&gt;=</a>(<span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; left, <span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; right)</div><div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;{</div><div class="line"><a name="l00359"></a><span class="lineno">  359<
 /span>&#160;  <span class="keywordflow">return</span> !(left &lt; right);</div><div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;}</div><div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;</div><div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="path_8hpp.html#a2ec9a8258175592b62eb0df607badc6d">  363</a></span>&#160;<span class="keyword">inline</span> std::ostream&amp; <a class="code" href="path_8hpp.html#a2ec9a8258175592b62eb0df607badc6d">operator&lt;&lt;</a>(</div><div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;    std::ostream&amp; stream,</div><div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    <span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; <a class="code" href="namespacepath.html">path</a>)</div><div class="line"><
 a name="l00366"></a><span class="lineno">  366</span>&#160;{</div><div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;  <span class="keywordflow">return</span> stream &lt;&lt; path.<a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>();</div><div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;}</div><div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;</div><div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;<span class="preprocessor">#endif // __STOUT_PATH_HPP__</span></div><div class="ttc" id="namespacepath_html"><div class="ttname"><a href="namespacepath.html">path</a></div><div class="ttdef"><b>Definition:</b> path.hpp:26</div></div>
+<a href="path_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// you may not use this file except in compliance with the License.</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// You may obtain a copy of the License at</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//</span></
 div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// limitations under the License.</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line">
 <a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#ifndef __STOUT_PATH_HPP__</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#define __STOUT_PATH_HPP__</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;<a class="code" h
 ref="stringify_8hpp.html">stout/stringify.hpp</a>&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="strings_8hpp.html">stout/strings.hpp</a>&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="3rdparty_2stout_2include_2stout_2os_2constants_8hpp.html">stout/os/constants.hpp</a>&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="namespacepath.html">   26</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacepath.html">path</a> {</div><div class="line"><a
  name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">// Converts a fully formed URI to a filename for the platform.</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">// On all platforms, the optional &quot;file://&quot; prefix is removed if it</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">// exists.</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">// On Windows, this also converts &quot;/&quot; characters to &quot;\&quot; characters.</span></div><div class="lin
 e"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// The Windows file system APIs don&#39;t work with &quot;/&quot; in the filename</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">// when using long paths (although they do work fine if the file</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">// path happens to be short).</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">// NOTE: Currently, Mesos uses URIs and files somewhat interchangably.</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">// For compatibility, lack of &quot;file://&quot; prefix is not considered an</span></div><div class=
 "line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">// error.</span></div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="namespacepath.html#af28fb9428732d97d43f6b02be4a712ea">   41</a></span>&#160;<span class="keyword">inline</span> std::string <a class="code" href="namespacepath.html#af28fb9428732d97d43f6b02be4a712ea">from_uri</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="namespaceuri.html">uri</a>)</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;{</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;  <span class="comment">// Remove the optional &quot;file://&quot; if it exists.</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;  <span class="comment">// TODO(coffler): Remove the `hostname` component.</span></div><div class="line"><a name="l00045"></a><span class="lineno">   
 45</span>&#160;  <span class="keyword">const</span> std::string <a class="code" href="namespacepath.html">path</a> = <a class="code" href="namespacestrings.html#a3fbaeb4d589c49ac115fab3412073ca7">strings::remove</a>(uri, <span class="stringliteral">&quot;file://&quot;</span>, <a class="code" href="namespacestrings.html#a6ebac6b171c6b20adb298cb020915b03ac5ca819908c72528657d7fb463db8a9a">strings::PREFIX</a>);</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#ifndef __WINDOWS__</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;  <span class="keywordflow">return</span> path;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  <span class="keywordflow">
 return</span> <a class="code" href="namespacestrings.html#a082f6de42f9c52047369e2ff80155eca">strings::replace</a>(path, <span class="stringliteral">&quot;/&quot;</span>, <span class="stringliteral">&quot;\\&quot;</span>);</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">#endif // __WINDOWS__</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;}</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">// Base case.</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">   56</a></span>&#160;<span class="keyword">inline</span> std::string <a class="code" href="namespacepath.html#aa86b
 16a2171cec90bb3337930513ef0f">join</a>(</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;    <span class="keyword">const</span> std::string&amp; path1,</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    <span class="keyword">const</span> std::string&amp; path2,</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">char</span> _separator = <a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>)</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;{</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  <span class="keyword">const</span> std::string separator = <a class="code" href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(_separator);</div><div class="line"><a name="l00062"></a><span class="lineno"
 >   62</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacestrings.html#a3fbaeb4d589c49ac115fab3412073ca7">strings::remove</a>(path1, separator, <a class="code" href="namespacestrings.html#a6ebac6b171c6b20adb298cb020915b03a3772529a8ac366325b107aff7f7f1360">strings::SUFFIX</a>) +</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;         separator +</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;         <a class="code" href="namespacestrings.html#a3fbaeb4d589c49ac115fab3412073ca7">strings::remove</a>(path2, separator, <a class="code" href="namespacestrings.html#a6ebac6b171c6b20adb298cb020915b03ac5ca819908c72528657d7fb463db8a9a">strings::PREFIX</a>);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;}</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><div class="line"><a name="l00067"></a><span class="lineno">   
 67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span>... Paths&gt;</div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="namespacepath.html#a1729e1b6a293ad05545aa75e73f71de6">   69</a></span>&#160;<span class="keyword">inline</span> std::string <a class="code" href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">join</a>(</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <span class="keyword">const</span> std::string&amp; path1,</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keyword">const</span> std::string&amp; path2,</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;    Paths&amp;&amp;... <a class="code" href="namespaceos_1_1libraries.html#a41b3cb8b32c32ab2abf7a7aa62de9f18">paths</a>)</div><div cl
 ass="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;{</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">join</a>(path1, <a class="code" href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">join</a>(path2, std::forward&lt;Paths&gt;(<a class="code" href="namespaceos_1_1libraries.html#a41b3cb8b32c32ab2abf7a7aa62de9f18">paths</a>)...));</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;}</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="namespacepath.html#a1d72015b1e35ab52249f56386c42d1a4">   78</a></span>&#160;<span class="keyword">inline</span> std::string <a class="code" href=
 "namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">join</a>(<span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; <a class="code" href="namespaceos_1_1libraries.html#a41b3cb8b32c32ab2abf7a7aa62de9f18">paths</a>)</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;{</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  <span class="keywordflow">if</span> (paths.empty()) {</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keywordflow">return</span> <span class="stringliteral">&quot;&quot;</span>;</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  }</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  std::string result = paths[0];</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>
 &#160;  <span class="keywordflow">for</span> (<span class="keywordtype">size_t</span> i = 1; i &lt; paths.size(); ++i) {</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    result = <a class="code" href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">join</a>(result, paths[i]);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  }</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  <span class="keywordflow">return</span> result;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;}</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="namespacepath.html#a09c4941618b3a4ea2dbfccf5fe9d3687">   96</a></span>&#160;<span class="keyword">inline</span> <spa
 n class="keywordtype">bool</span> <a class="code" href="namespacepath.html#a09c4941618b3a4ea2dbfccf5fe9d3687">absolute</a>(<span class="keyword">const</span> std::string&amp; <a class="code" href="namespacepath.html">path</a>)</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;{</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<span class="preprocessor">#ifndef __WINDOWS__</span></div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  <span class="keywordflow">return</span> <a class="code" href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a>(path, <a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;  <span c
 lass="comment">// NOTE: We do not use `PathIsRelative` Windows utility function</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <span class="comment">// here because it does not support long paths.</span></div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  <span class="comment">// See https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx</span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;  <span class="comment">// for details on paths. In short, an absolute path for files on Windows</span></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;  <span class="comment">// looks like one of the following:</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <span cl
 ass="comment">//   * &quot;[A-Za-z]:\&quot;</span></div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  <span class="comment">//   * &quot;[A-Za-z]:/&quot;</span></div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="comment">//   * &quot;\\?\...&quot;</span></div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  <span class="comment">//   * &quot;\\server\...&quot; where &quot;server&quot; is a network host.</span></div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  <span class="comment">// NOLINT(whitespace/line_length)</span></div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;  <span class="comment">// A uniform na
 ming convention (UNC) name of any format,</span></div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;  <span class="comment">// always starts with two backslash characters.</span></div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a>(path, <span class="stringliteral">&quot;\\\\&quot;</span>)) {</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">true</span>;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;  }</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;  <span class="comment">// A disk designator with a slash, for example &quot;C:\&qu
 ot; or &quot;d:/&quot;.</span></div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  <span class="keywordflow">if</span> (path.length() &lt; 3) {</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;  }</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span> letter = path[0];</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;  <span class="keywordflow">if</span> (!((letter &gt;= <span class="charliteral">&#39;A&#39;</span> &amp;&amp; letter &lt;= <span class="charliteral">&#39;Z&#39;</span>) ||</div><div class="line"><a name="l00127"></a><span clas
 s="lineno">  127</span>&#160;        (letter &gt;= <span class="charliteral">&#39;a&#39;</span> &amp;&amp; letter &lt;= <span class="charliteral">&#39;z&#39;</span>))) {</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    <span class="keywordflow">return</span> <span class="keyword">false</span>;</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;  }</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;  std::string colon = path.substr(1, 2);</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;  <span class="keywordflow">return</span> colon == <span class="stringliteral">&quot;:\\&quot;</span> || colon == <span class="stringliteral">&quot;:/&quot;</span>;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="preprocessor">#endif // _
 _WINDOWS__</span></div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;}</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;} <span class="comment">// namespace path {</span></div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="classPath.html">  145</a></span>&#160;<span class="keyword">class </span><a class="code" href="classPath.html">Path</a></div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;{</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="classPath
 .html#af26cfab021ddf49af73da3b2beca85ac">  148</a></span>&#160;  <a class="code" href="classPath.html#af26cfab021ddf49af73da3b2beca85ac">Path</a>() : value(), separator(<a class="code" href="namespaceos.html">os</a>::<a class="code" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">PATH_SEPARATOR</a>) {}</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="classPath.html#a0692f84b3a0e350ff0e072469bb11f5c">  150</a></span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classPath.html#a0692f84b3a0e350ff0e072469bb11f5c">Path</a>(</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;      <span class="keyword">const</span> std::string&amp; <a class="code" href="namespacepath.html">path</a>, <span class="keyword">const</span> <span class="keywordtype">char</span> path_separator = <a class="code" href="namespaceos.h
 tml#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>)</div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    : value(<a class="code" href="namespacestrings.html">strings</a>::<a class="code" href="namespacecgroups.html#abe24f34ebd9554eafc765b62c41fb74c">remove</a>(path, <span class="stringliteral">&quot;file://&quot;</span>, <a class="code" href="namespacestrings.html">strings</a>::<a class="code" href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#abb8ab3e62de157d1a7a81e08888ec30cabf80c29a65453b2615d8f9bd83f8f3d6">PREFIX</a>)),</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;      separator(path_separator)</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;  {}</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;  <span class="comment">// TOD
 O(cmaloney): Add more useful operations such as &#39;directoryname()&#39;,</span></div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;  <span class="comment">// &#39;filename()&#39;, etc.</span></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="classPath.html#a11c34646ac636526f1b28b61057f3b1f">  182</a></span>&#160;  <span class="keyword">inline</span> std::string <a class="code" href="classPath.html#a11c34646ac636526f1b28b61057f3b1f">basename</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;    <span class="keywordflow">if</span> (value.empty()) {</div><div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;      <span clas
 s="keywordflow">return</span> std::string(<span class="stringliteral">&quot;.&quot;</span>);</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;    }</div><div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;</div><div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;    <span class="keywordtype">size_t</span> end = value.size() - 1;</div><div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div><div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <span class="comment">// Remove trailing slashes.</span></div><div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <span class="keywordflow">if</span> (value[end] == separator) {</div><div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;      end = value.find_last_not_of(separator, end);</div><div class="line"><a name="l00193"></a><span class="lineno"> 
  193</span>&#160;</div><div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;      <span class="comment">// Paths containing only slashes result into &quot;/&quot;.</span></div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;      <span class="keywordflow">if</span> (end == std::string::npos) {</div><div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(separator);</div><div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;      }</div><div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    }</div><div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;</div><div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;    <span class="comment">// &#39;start&#39; should point towards the
  character after the last slash</span></div><div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;    <span class="comment">// that is non trailing.</span></div><div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="namespacesystemd_1_1slices.html#a95aa197d8eed9f20dacb44f433b15f01">start</a> = value.find_last_of(separator, end);</div><div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    <span class="keywordflow">if</span> (start == std::string::npos) {</div><div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;      start = 0;</div><div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;   
    start++;</div><div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    }</div><div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;    <span class="keywordflow">return</span> value.substr(start, end + 1 - start);</div><div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;  }</div><div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;</div><div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;  <span class="comment">// TODO(hausdorff) Make sure this works on Windows for very short path names,</span></div><div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;  <span class="comment">// such as &quot;C:\Temp&quot;. There is a distinction between &quot;C:&quot; and &quot;C:\&quot;, the</span></div><div class="line"><a name="l00215"></a><span class="lineno">  
 215</span>&#160;  <span class="comment">// former means &quot;current directory of the C drive&quot;, while the latter means</span></div><div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;  <span class="comment">// &quot;The root of the C drive&quot;. Also make sure that UNC paths are handled.</span></div><div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;  <span class="comment">// Will probably need to use the Windows path functions for that.</span></div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="classPath.html#a0449e93ffb615ef7fd198ef03dd1100c">  241</a></span>&#160;<span class="comment"></span>  <span class="keyword">inline</span> std::string <a class="code" href="classPath.html#a0449e93ffb615ef7fd198ef03dd1100c">dirname</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="keyword">  </span>{</div><div cla
 ss="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    <span class="keywordflow">if</span> (value.empty()) {</div><div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;      <span class="keywordflow">return</span> std::string(<span class="stringliteral">&quot;.&quot;</span>);</div><div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;    }</div><div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;</div><div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;    <span class="keywordtype">size_t</span> end = value.size() - 1;</div><div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    <span class="comment">// Remove trailing slashes.</span></div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;    <span class="keywordflow">if</span> (v
 alue[end] == separator) {</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;      end = value.find_last_not_of(separator, end);</div><div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;    }</div><div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;</div><div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    <span class="comment">// Remove anything trailing the last slash.</span></div><div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    end = value.find_last_of(separator, end);</div><div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;</div><div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    <span class="comment">// Paths containing no slashes result in &quot;.&quot;.</span></div><div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    <span class="keywordflow">if</s
 pan> (end == std::string::npos) {</div><div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;      <span class="keywordflow">return</span> std::string(<span class="stringliteral">&quot;.&quot;</span>);</div><div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    }</div><div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div><div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;    <span class="comment">// Paths containing only slashes result in &quot;/&quot;.</span></div><div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    <span class="keywordflow">if</span> (end == 0) {</div><div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(separator);</div><div class="line"><a name="l00265"></a><span class="li
 neno">  265</span>&#160;    }</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;    <span class="comment">// &#39;end&#39; should point towards the last non slash character</span></div><div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    <span class="comment">// preceding the last slash.</span></div><div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    end = value.find_last_not_of(separator, end);</div><div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div><div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    <span class="comment">// Paths containing no non slash characters result in &quot;/&quot;.</span></div><div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    <span class="keywordflow">if</span> (end == std::string::npos) {</
 div><div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="namespacens.html#a28116b46e6543597a11733424cd1aa20">stringify</a>(separator);</div><div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    }</div><div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;</div><div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;    <span class="keywordflow">return</span> value.substr(0, end + 1);</div><div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;  }</div><div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;</div><div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="classPath.html#a46e804f0daca3c3a0fef137364aca5ea">  296</a></span>&#160;  <span class="keyword">inline</span> <a class="code" href="classOption.html">Option&lt;std::string&gt;</a> <a cl
 ass="code" href="classPath.html#a46e804f0daca3c3a0fef137364aca5ea">extension</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;    std::string _basename = basename();</div><div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;    <span class="keywordtype">size_t</span> <a class="code" href="namespacerouting_1_1link.html#a26486cdba01ef1c80706b1e07e8a6d3f">index</a> = _basename.rfind(<span class="charliteral">&#39;.&#39;</span>);</div><div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;</div><div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    <span class="keywordflow">if</span> (_basename == <span class="stringliteral">&quot;.&quot;</span> || _basename == <span class="stringliteral">&quot;..&quot;</span> || index == std
 ::string::npos) {</div><div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;      <span class="keywordflow">return</span> <a class="code" href="structNone.html">None</a>();</div><div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;    }</div><div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;</div><div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;    <span class="keywordflow">return</span> _basename.substr(index);</div><div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160;  }</div><div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;</div><div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;  <span class="comment">// Checks whether the path is absolute.</span></div><div class="line"><a name="l00309"></a><span class="lineno"><a class="line" href="classPath.html#a240c7b71a23c8e97b5490dbae75cc948">  309</a></s
 pan>&#160;  <span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="classPath.html#a240c7b71a23c8e97b5490dbae75cc948">absolute</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="namespacepath.html#a09c4941618b3a4ea2dbfccf5fe9d3687">path::absolute</a>(value);</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;  }</div><div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;</div><div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;  <span class="comment">// Implicit conversion from Path to string.</span></div><div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="classPath.html#a3d26816443f
 4e274700f715db64379ee">  315</a></span>&#160;  <span class="keyword">operator</span> std::string()<span class="keyword"> const</span></div><div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;<span class="keyword">  </span>{</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;    <span class="keywordflow">return</span> value;</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;  }</div><div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;</div><div class="line"><a name="l00320"></a><span class="lineno"><a class="line" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">  320</a></span>&#160;  <span class="keyword">const</span> std::string&amp; <a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>()<span class="keyword"> const</span></div><div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;<span class="keyword">  </
 span>{</div><div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;    <span class="keywordflow">return</span> value;</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;  }</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;</div><div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;  std::string value;</div><div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;  <span class="keywordtype">char</span> separator;</div><div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;};</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;</div><div class="line"><a name="l00331"></a><span class="lineno"><a clas
 s="line" href="path_8hpp.html#ad31aaa5ed4d55b1f295094e3fa84d769">  331</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="path_8hpp.html#ad31aaa5ed4d55b1f295094e3fa84d769">operator==</a>(<span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; left, <span class="keyword">const</span> <a class="code" href="classPath.html">Path</a>&amp; right)</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;{</div><div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;  <span class="keywordflow">return</span> left.<a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>() == right.<a class="code" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>();</div><div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;}</div><div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160
 ;</div><div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;</div><div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="path_8hpp.html#a79f5bd235856dc07ee5980991200e646">  337</a></span>&#160;<span class="keyword">inline</span> <span class="keywordtype">bool</span> <a class="code" href="path_8hpp.html#a79f5bd235856dc07ee5980991200e646">operator!=</a>(<span class="keyword">const</span> <a cl

<TRUNCATED>

[3/3] mesos-site git commit: Updated the website built from mesos SHA: 9047fdc.

Posted by gi...@apache.org.
Updated the website built from mesos SHA: 9047fdc.


Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/b8e8dd48
Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/b8e8dd48
Diff: http://git-wip-us.apache.org/repos/asf/mesos-site/diff/b8e8dd48

Branch: refs/heads/asf-site
Commit: b8e8dd48a8b82cb2d634311232a5900ff88687c4
Parents: f2faa6d
Author: jenkins <bu...@apache.org>
Authored: Tue Jul 24 20:42:08 2018 +0000
Committer: jenkins <bu...@apache.org>
Committed: Tue Jul 24 20:42:08 2018 +0000

----------------------------------------------------------------------
 ...nclude_2stout_2flags_2flags_8hpp_source.html |  2 +-
 content/api/latest/c++/Nodes.xml                |  4 +--
 content/api/latest/c++/Tokens.xml               |  2 +-
 content/api/latest/c++/classPath-members.html   |  2 +-
 content/api/latest/c++/classPath.html           | 18 +++++++++---
 .../api/latest/c++/credentials_8hpp_source.html |  2 +-
 content/api/latest/c++/functions_d.html         |  2 +-
 content/api/latest/c++/functions_func_u.html    |  2 +-
 content/api/latest/c++/functions_func_v.html    |  8 +++---
 content/api/latest/c++/functions_k.html         | 12 ++++----
 content/api/latest/c++/functions_n.html         | 12 ++++----
 content/api/latest/c++/functions_p.html         | 16 +++++------
 content/api/latest/c++/functions_r.html         |  8 +++---
 content/api/latest/c++/functions_rela.html      |  6 ++--
 content/api/latest/c++/functions_s.html         | 26 ++++++++++--------
 content/api/latest/c++/functions_t.html         | 18 ++++++------
 content/api/latest/c++/functions_u.html         |  6 ++--
 content/api/latest/c++/functions_v.html         |  2 +-
 content/api/latest/c++/functions_w.html         |  6 ++--
 content/api/latest/c++/index.hhc                |  4 +--
 .../latest/c++/linux_2cgroups_8hpp_source.html  |  2 +-
 content/api/latest/c++/path_8hpp_source.html    | 29 ++++++++++----------
 .../c++/src_2slave_2state_8hpp_source.html      |  2 +-
 ...uri__disk__profile__adaptor_8hpp_source.html |  4 +--
 24 files changed, 105 insertions(+), 90 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/3rdparty_2stout_2include_2stout_2flags_2flags_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2flags_2flags_8hpp_source.html b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2flags_2flags_8hpp_source.html
index ba87d8d..2062601 100644
--- a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2flags_2flags_8hpp_source.html
+++ b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2flags_2flags_8hpp_source.html
@@ -134,7 +134,7 @@
 <div class="ttc" id="structflags_1_1Flag_html_adc8211c146568f329f825bc853e50eae"><div class="ttname"><a href="structflags_1_1Flag.html#adc8211c146568f329f825bc853e50eae">flags::Flag::loaded_name</a></div><div class="ttdeci">Option&lt; Name &gt; loaded_name</div><div class="ttdef"><b>Definition:</b> flag.hpp:86</div></div>
 <div class="ttc" id="structflags_1_1Flag_html_a0f4678e24084c0fd415f3504df8f2c14"><div class="ttname"><a href="structflags_1_1Flag.html#a0f4678e24084c0fd415f3504df8f2c14">flags::Flag::stringify</a></div><div class="ttdeci">lambda::function&lt; Option&lt; std::string &gt;const FlagsBase &amp;)&gt; stringify</div><div class="ttdef"><b>Definition:</b> flag.hpp:91</div></div>
 <div class="ttc" id="classflags_1_1FlagsBase_html_a609f23d3e09a55acbf23adaf48f3740d"><div class="ttname"><a href="classflags_1_1FlagsBase.html#a609f23d3e09a55acbf23adaf48f3740d">flags::FlagsBase::add</a></div><div class="ttdeci">void add(T1 Flags::*t1, const Name &amp;name, const std::string &amp;help, const T2 &amp;t2, F validate)</div><div class="ttdef"><b>Definition:</b> flags.hpp:207</div></div>
-<div class="ttc" id="classPath_html_a11c34646ac636526f1b28b61057f3b1f"><div class="ttname"><a href="classPath.html#a11c34646ac636526f1b28b61057f3b1f">Path::basename</a></div><div class="ttdeci">std::string basename() const </div><div class="ttdoc">Extracts the component following the final &amp;#39;/&amp;#39;. </div><div class="ttdef"><b>Definition:</b> path.hpp:179</div></div>
+<div class="ttc" id="classPath_html_a11c34646ac636526f1b28b61057f3b1f"><div class="ttname"><a href="classPath.html#a11c34646ac636526f1b28b61057f3b1f">Path::basename</a></div><div class="ttdeci">std::string basename() const </div><div class="ttdoc">Extracts the component following the final &amp;#39;/&amp;#39;. </div><div class="ttdef"><b>Definition:</b> path.hpp:182</div></div>
 <div class="ttc" id="structflags_1_1Name_html"><div class="ttname"><a href="structflags_1_1Name.html">flags::Name</a></div><div class="ttdef"><b>Definition:</b> flag.hpp:31</div></div>
 <div class="ttc" id="namespacens_html_a28116b46e6543597a11733424cd1aa20"><div class="ttname"><a href="namespacens.html#a28116b46e6543597a11733424cd1aa20">ns::stringify</a></div><div class="ttdeci">std::string stringify(int flags)</div></div>
 <div class="ttc" id="namespacestrings_html_aa5513faacb213c7e097c0d43af43d9c7"><div class="ttname"><a href="namespacestrings.html#aa5513faacb213c7e097c0d43af43d9c7">strings::startsWith</a></div><div class="ttdeci">bool startsWith(const std::string &amp;s, const std::string &amp;prefix)</div><div class="ttdef"><b>Definition:</b> strings.hpp:381</div></div>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/Nodes.xml
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/Nodes.xml b/content/api/latest/c++/Nodes.xml
index 3d511c3..7f10e25 100644
--- a/content/api/latest/c++/Nodes.xml
+++ b/content/api/latest/c++/Nodes.xml
@@ -34451,7 +34451,7 @@
              <Node>
               <Name>Path</Name>
               <Path>classPath.html</Path>
-              <Anchor>a91965ddddabd9a15374ab51f6847f8b6</Anchor>
+              <Anchor>a0692f84b3a0e350ff0e072469bb11f5c</Anchor>
              </Node>
              <Node>
               <Name>absolute</Name>
@@ -60963,7 +60963,7 @@
                        <Node>
                         <Name>Path</Name>
                         <Path>classPath.html</Path>
-                        <Anchor>a91965ddddabd9a15374ab51f6847f8b6</Anchor>
+                        <Anchor>a0692f84b3a0e350ff0e072469bb11f5c</Anchor>
                        </Node>
                        <Node>
                         <Name>absolute</Name>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/Tokens.xml
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/Tokens.xml b/content/api/latest/c++/Tokens.xml
index dc0f90c..c85a56e 100644
--- a/content/api/latest/c++/Tokens.xml
+++ b/content/api/latest/c++/Tokens.xml
@@ -39171,7 +39171,7 @@
       <Scope>Path</Scope>
     </TokenIdentifier>
     <Path>classPath.html</Path>
-    <Anchor>a91965ddddabd9a15374ab51f6847f8b6</Anchor>
+    <Anchor>a0692f84b3a0e350ff0e072469bb11f5c</Anchor>
     <DeclaredIn>path.hpp</DeclaredIn>
   </Token>
   <Token>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/classPath-members.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/classPath-members.html b/content/api/latest/c++/classPath-members.html
index 60650ff..76c5587 100644
--- a/content/api/latest/c++/classPath-members.html
+++ b/content/api/latest/c++/classPath-members.html
@@ -59,7 +59,7 @@
   <tr><td class="entry"><a class="el" href="classPath.html#a46e804f0daca3c3a0fef137364aca5ea">extension</a>() const </td><td class="entry"><a class="el" href="classPath.html">Path</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
   <tr class="even"><td class="entry"><a class="el" href="classPath.html#a3d26816443f4e274700f715db64379ee">operator std::string</a>() const </td><td class="entry"><a class="el" href="classPath.html">Path</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
   <tr><td class="entry"><a class="el" href="classPath.html#af26cfab021ddf49af73da3b2beca85ac">Path</a>()</td><td class="entry"><a class="el" href="classPath.html">Path</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
-  <tr class="even"><td class="entry"><a class="el" href="classPath.html#a91965ddddabd9a15374ab51f6847f8b6">Path</a>(const std::string &amp;path)</td><td class="entry"><a class="el" href="classPath.html">Path</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr>
+  <tr class="even"><td class="entry"><a class="el" href="classPath.html#a0692f84b3a0e350ff0e072469bb11f5c">Path</a>(const std::string &amp;path, const char path_separator=os::PATH_SEPARATOR)</td><td class="entry"><a class="el" href="classPath.html">Path</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">explicit</span></td></tr>
   <tr><td class="entry"><a class="el" href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">string</a>() const </td><td class="entry"><a class="el" href="classPath.html">Path</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
 </table></div><!-- contents -->
 <!-- start footer part -->

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/classPath.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/classPath.html b/content/api/latest/c++/classPath.html
index cd4d07e..e10557a 100644
--- a/content/api/latest/c++/classPath.html
+++ b/content/api/latest/c++/classPath.html
@@ -63,8 +63,8 @@
 Public Member Functions</h2></td></tr>
 <tr class="memitem:af26cfab021ddf49af73da3b2beca85ac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#af26cfab021ddf49af73da3b2beca85ac">Path</a> ()</td></tr>
 <tr class="separator:af26cfab021ddf49af73da3b2beca85ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:a91965ddddabd9a15374ab51f6847f8b6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a91965ddddabd9a15374ab51f6847f8b6">Path</a> (const std::string &amp;path)</td></tr>
-<tr class="separator:a91965ddddabd9a15374ab51f6847f8b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:a0692f84b3a0e350ff0e072469bb11f5c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a0692f84b3a0e350ff0e072469bb11f5c">Path</a> (const std::string &amp;path, const char path_separator=<a class="el" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a>)</td></tr>
+<tr class="separator:a0692f84b3a0e350ff0e072469bb11f5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
 <tr class="memitem:a11c34646ac636526f1b28b61057f3b1f"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPath.html#a11c34646ac636526f1b28b61057f3b1f">basename</a> () const </td></tr>
 <tr class="memdesc:a11c34646ac636526f1b28b61057f3b1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Extracts the component following the final '/'.  <a href="#a11c34646ac636526f1b28b61057f3b1f">More...</a><br /></td></tr>
 <tr class="separator:a11c34646ac636526f1b28b61057f3b1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -109,7 +109,7 @@ platform". </p>
 
 </div>
 </div>
-<a class="anchor" id="a91965ddddabd9a15374ab51f6847f8b6"></a>
+<a class="anchor" id="a0692f84b3a0e350ff0e072469bb11f5c"></a>
 <div class="memitem">
 <div class="memproto">
 <table class="mlabels">
@@ -120,8 +120,18 @@ platform". </p>
           <td class="memname">Path::Path </td>
           <td>(</td>
           <td class="paramtype">const std::string &amp;&#160;</td>
-          <td class="paramname"><em>path</em></td><td>)</td>
+          <td class="paramname"><em>path</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const char&#160;</td>
+          <td class="paramname"><em>path_separator</em> = <code><a class="el" href="namespaceos.html#a493d7d8775f0ed778ad3b52ec19bbaab">os::PATH_SEPARATOR</a></code>&#160;</td>
+        </tr>
+        <tr>
           <td></td>
+          <td>)</td>
+          <td></td><td></td>
         </tr>
       </table>
   </td>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/credentials_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/credentials_8hpp_source.html b/content/api/latest/c++/credentials_8hpp_source.html
index 5b9ebbc..55698a9 100644
--- a/content/api/latest/c++/credentials_8hpp_source.html
+++ b/content/api/latest/c++/credentials_8hpp_source.html
@@ -79,7 +79,7 @@
 <div class="ttc" id="namespacemesos_1_1internal_1_1credentials_html_a137c93d60149616181a10e9f39986f7f"><div class="ttname"><a href="namespacemesos_1_1internal_1_1credentials.html#a137c93d60149616181a10e9f39986f7f">mesos::internal::credentials::read</a></div><div class="ttdeci">Result&lt; Credentials &gt; read(const Path &amp;path)</div><div class="ttdef"><b>Definition:</b> credentials.hpp:35</div></div>
 <div class="ttc" id="try_8hpp_html"><div class="ttname"><a href="try_8hpp.html">try.hpp</a></div></div>
 <div class="ttc" id="namespacens_html_a28116b46e6543597a11733424cd1aa20"><div class="ttname"><a href="namespacens.html#a28116b46e6543597a11733424cd1aa20">ns::stringify</a></div><div class="ttdeci">std::string stringify(int flags)</div></div>
-<div class="ttc" id="classPath_html_a9d36a94d674e3f889eb8f46dc7a156b8"><div class="ttname"><a href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">Path::string</a></div><div class="ttdeci">const std::string &amp; string() const </div><div class="ttdef"><b>Definition:</b> path.hpp:317</div></div>
+<div class="ttc" id="classPath_html_a9d36a94d674e3f889eb8f46dc7a156b8"><div class="ttname"><a href="classPath.html#a9d36a94d674e3f889eb8f46dc7a156b8">Path::string</a></div><div class="ttdeci">const std::string &amp; string() const </div><div class="ttdef"><b>Definition:</b> path.hpp:320</div></div>
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_d.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_d.html b/content/api/latest/c++/functions_d.html
index 2812d66..03f97cc 100644
--- a/content/api/latest/c++/functions_d.html
+++ b/content/api/latest/c++/functions_d.html
@@ -533,7 +533,7 @@
 : <a class="el" href="classprocess_1_1Time.html#a526a30c9b274aed438ee67e7bf732739">process::Time</a>
 </li>
 <li>DynamicLibrary()
-: <a class="el" href="classDynamicLibrary.html#abd84f6b6263964d95e59f59b04f37419">DynamicLibrary</a>
+: <a class="el" href="classDynamicLibrary.html#a59fb7945e893625717cc37c8bc923236">DynamicLibrary</a>
 </li>
 </ul>
 </div><!-- contents -->

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_func_u.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_func_u.html b/content/api/latest/c++/functions_func_u.html
index 44a5859..4369ee8 100644
--- a/content/api/latest/c++/functions_func_u.html
+++ b/content/api/latest/c++/functions_func_u.html
@@ -368,7 +368,7 @@
 : <a class="el" href="classmesos_1_1internal_1_1tests_1_1TestDiskProfileServerProcess.html#af3fb41baff0f52126d4ce2705e1528c3">mesos::internal::tests::TestDiskProfileServerProcess</a>
 </li>
 <li>URL()
-: <a class="el" href="structprocess_1_1http_1_1URL.html#a5670b901f50b1cc161664b930411e156">process::http::URL</a>
+: <a class="el" href="structprocess_1_1http_1_1URL.html#a0405a5eae13705f0cfe7b78e2928bc5f">process::http::URL</a>
 </li>
 <li>us()
 : <a class="el" href="classDuration.html#ab4bc8981d3ac26e3880e57e19f7f7f92">Duration</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_func_v.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_func_v.html b/content/api/latest/c++/functions_func_v.html
index 60224d0..4daa8cb 100644
--- a/content/api/latest/c++/functions_func_v.html
+++ b/content/api/latest/c++/functions_func_v.html
@@ -118,7 +118,7 @@
 , <a class="el" href="classHours.html#aabae7296a0be6bb13850eb285302cf77">Hours</a>
 </li>
 <li>Value()
-: <a class="el" href="structJSON_1_1Value.html#ab05d7584e0a89ecc8a16d0670d3a84b7">JSON::Value</a>
+: <a class="el" href="structJSON_1_1Value.html#a5e0c2536746e22b71bb3be5883b49c78">JSON::Value</a>
 </li>
 <li>value()
 : <a class="el" href="classmesos_1_1state_1_1Variable.html#ade8ed8f89ceb5e3ab004e2922a5b35fa">mesos::state::Variable</a>
@@ -126,7 +126,7 @@
 , <a class="el" href="classMilliseconds.html#a958cbe56379726b0b0e1a01afd3204e7">Milliseconds</a>
 , <a class="el" href="classMinutes.html#a83dd956016276afa0f496520470c4a3d">Minutes</a>
 , <a class="el" href="classNanoseconds.html#a260729fd78d4e539dc1b694d8e2fd06b">Nanoseconds</a>
-, <a class="el" href="classprocess_1_1ControlFlow.html#a5c21809a15f9efe012e30d1a1cf05c3a">process::ControlFlow&lt; T &gt;</a>
+, <a class="el" href="classprocess_1_1ControlFlow.html#a9fa0744c29d7bffd54f10aea580ba187">process::ControlFlow&lt; T &gt;</a>
 , <a class="el" href="classprocess_1_1metrics_1_1Counter.html#a2685bd649b131f41ecc0dbc0843fa918">process::metrics::Counter</a>
 , <a class="el" href="classprocess_1_1metrics_1_1Metric.html#a961b445c5d82327db7fa387a818635c7">process::metrics::Metric</a>
 , <a class="el" href="classprocess_1_1metrics_1_1PullGauge.html#aabf0adce808b6da87442575ec9b5ade3">process::metrics::PullGauge</a>
@@ -163,12 +163,12 @@
 <li>visit()
 : <a class="el" href="structprocess_1_1DispatchEvent.html#a0e76d6c1283c8e70858d7099be34a5ba">process::DispatchEvent</a>
 , <a class="el" href="structprocess_1_1Event.html#a8756ddd411b61f8f1710e13d82e71037">process::Event</a>
-, <a class="el" href="structprocess_1_1EventVisitor.html#ac5a1087909568bbac1213d32105e1221">process::EventVisitor</a>
+, <a class="el" href="structprocess_1_1EventVisitor.html#a2c6446217ce0718ea9c7b87e2ca93049">process::EventVisitor</a>
 , <a class="el" href="structprocess_1_1ExitedEvent.html#aacae7e724b82f3f33f640b9026e163c8">process::ExitedEvent</a>
 , <a class="el" href="structprocess_1_1HttpEvent.html#aef4ca1f2279a4207d18c695fc6510a10">process::HttpEvent</a>
 , <a class="el" href="structprocess_1_1MessageEvent.html#a075568b289b0075487233208e5b1fe7d">process::MessageEvent</a>
 , <a class="el" href="structprocess_1_1TerminateEvent.html#ae608861d9805a2d34f2533605808b2c1">process::TerminateEvent</a>
-, <a class="el" href="classVariant.html#a60b427988bfa6cfe7dc6bff236f523b5">Variant&lt; T, Ts &gt;</a>
+, <a class="el" href="classVariant.html#ac80eba67c08d5e8c1d0bc87bd112dff7">Variant&lt; T, Ts &gt;</a>
 </li>
 </ul>
 </div><!-- contents -->

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_k.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_k.html b/content/api/latest/c++/functions_k.html
index f1ee979..c82bf31 100644
--- a/content/api/latest/c++/functions_k.html
+++ b/content/api/latest/c++/functions_k.html
@@ -134,26 +134,28 @@
 <li>KILOBYTES
 : <a class="el" href="classBytes.html#a66a1678fb3e923ee9cb48025d4c3c871">Bytes</a>
 </li>
+<li>kind
+: <a class="el" href="structmesos_1_1internal_1_1master_1_1allocator_1_1DRFSorter_1_1Node.html#ac7de592199251ed69562528f3c5a461f">mesos::internal::master::allocator::DRFSorter::Node</a>
+</li>
 <li>Kind
 : <a class="el" href="structmesos_1_1internal_1_1master_1_1allocator_1_1DRFSorter_1_1Node.html#a4d517b4f43a57bed46b16564ed0332b5">mesos::internal::master::allocator::DRFSorter::Node</a>
 </li>
 <li>kind
-: <a class="el" href="structmesos_1_1internal_1_1master_1_1allocator_1_1DRFSorter_1_1Node.html#ac7de592199251ed69562528f3c5a461f">mesos::internal::master::allocator::DRFSorter::Node</a>
+: <a class="el" href="structmesos_1_1internal_1_1master_1_1allocator_1_1RandomSorter_1_1Node.html#abc5626caa825ddd965d4e64ae0763b35">mesos::internal::master::allocator::RandomSorter::Node</a>
 </li>
 <li>Kind
 : <a class="el" href="structmesos_1_1internal_1_1master_1_1allocator_1_1RandomSorter_1_1Node.html#a3fdf652114f250eae8f6efff6989b2e3">mesos::internal::master::allocator::RandomSorter::Node</a>
 </li>
 <li>kind
-: <a class="el" href="structmesos_1_1internal_1_1master_1_1allocator_1_1RandomSorter_1_1Node.html#abc5626caa825ddd965d4e64ae0763b35">mesos::internal::master::allocator::RandomSorter::Node</a>
-, <a class="el" href="structmesos_1_1modules_1_1ModuleBase.html#af37d32c0c7e7964c8e2368f4224ce0b4">mesos::modules::ModuleBase</a>
+: <a class="el" href="structmesos_1_1modules_1_1ModuleBase.html#af37d32c0c7e7964c8e2368f4224ce0b4">mesos::modules::ModuleBase</a>
 , <a class="el" href="classprocess_1_1DataEncoder.html#a9f09288578a5f77582ac5f77f3496b1b">process::DataEncoder</a>
+, <a class="el" href="classprocess_1_1Encoder.html#ab897ad4d4c34b843b2470a687955110a">process::Encoder</a>
 </li>
 <li>Kind
 : <a class="el" href="classprocess_1_1Encoder.html#a61ab7c7c77f3285b9e1a91c3f962a007">process::Encoder</a>
 </li>
 <li>kind()
-: <a class="el" href="classprocess_1_1Encoder.html#ab897ad4d4c34b843b2470a687955110a">process::Encoder</a>
-, <a class="el" href="classprocess_1_1FileEncoder.html#aa00f68e665791c2522404117108efb06">process::FileEncoder</a>
+: <a class="el" href="classprocess_1_1FileEncoder.html#aa00f68e665791c2522404117108efb06">process::FileEncoder</a>
 , <a class="el" href="classprocess_1_1network_1_1internal_1_1LibeventSSLSocketImpl.html#ad0ecd3ed460c9cf93b32e4d68b0107e7">process::network::internal::LibeventSSLSocketImpl</a>
 , <a class="el" href="classprocess_1_1network_1_1internal_1_1PollSocketImpl.html#a7cf3bce5605eb3cf62329f6cdaaeccff">process::network::internal::PollSocketImpl</a>
 , <a class="el" href="classprocess_1_1network_1_1internal_1_1Socket.html#a321e42cc71f404ff9a1ae51108c92ef8">process::network::internal::Socket&lt; AddressType &gt;</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_n.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_n.html b/content/api/latest/c++/functions_n.html
index 1dd65d9..5c2a68b 100644
--- a/content/api/latest/c++/functions_n.html
+++ b/content/api/latest/c++/functions_n.html
@@ -278,7 +278,7 @@
 : <a class="el" href="classrouting_1_1filter_1_1U32Handle.html#a905f16da1073dbbced85293a1ed2a39f">routing::filter::U32Handle</a>
 </li>
 <li>NodeCapabilities()
-: <a class="el" href="structmesos_1_1csi_1_1v0_1_1NodeCapabilities.html#ab7697bc98fc12e7bffec0895b7c68244">mesos::csi::v0::NodeCapabilities</a>
+: <a class="el" href="structmesos_1_1csi_1_1v0_1_1NodeCapabilities.html#a589d1a689c231e33f03861797c5bdc41">mesos::csi::v0::NodeCapabilities</a>
 </li>
 <li>nodename
 : <a class="el" href="structos_1_1UTSInfo.html#a03dd23e9031a68b633dc6e405e32bab0">os::UTSInfo</a>
@@ -323,16 +323,16 @@
 : <a class="el" href="structprocess_1_1http_1_1NotAcceptable.html#a7aa1994f2bf2049346177a29ec75b567">process::http::NotAcceptable</a>
 </li>
 <li>NotFound()
-: <a class="el" href="structprocess_1_1http_1_1NotFound.html#afd150061e7afc57ec91516045b09c703">process::http::NotFound</a>
+: <a class="el" href="structprocess_1_1http_1_1NotFound.html#a45432f89f82b758deed0cd6a7994c1fb">process::http::NotFound</a>
 </li>
 <li>notify()
 : <a class="el" href="classprocess_1_1internal_1_1ReaperProcess.html#a9ed3a26894422f571a73edc3a2900e02">process::internal::ReaperProcess</a>
 </li>
 <li>NotImplemented()
-: <a class="el" href="structprocess_1_1http_1_1NotImplemented.html#ac786e0b6d4f5bd8ad74690791bd1c423">process::http::NotImplemented</a>
+: <a class="el" href="structprocess_1_1http_1_1NotImplemented.html#a6ef0e57cfbd6d82ca46977181b1dc19c">process::http::NotImplemented</a>
 </li>
 <li>now()
-: <a class="el" href="classprocess_1_1Clock.html#aeb3feabcc37d4903757ea2a2160f2e32">process::Clock</a>
+: <a class="el" href="classprocess_1_1Clock.html#a24ed3f746bb6b3ddb1c52dce5e0ecd38">process::Clock</a>
 </li>
 <li>ns()
 : <a class="el" href="classDuration.html#aa3703196ba3797f7833a8348ccb5449a">Duration</a>
@@ -341,7 +341,7 @@
 : <a class="el" href="structproc_1_1ProcessStatus.html#a4534d6c1b0da5571b5776a8c769e223a">proc::ProcessStatus</a>
 </li>
 <li>NullWriter()
-: <a class="el" href="classJSON_1_1NullWriter.html#a5de221906ce05544056753706921970f">JSON::NullWriter</a>
+: <a class="el" href="classJSON_1_1NullWriter.html#a397ce55e0db98a8cc6722e1443f20710">JSON::NullWriter</a>
 </li>
 <li>num_slaves
 : <a class="el" href="classmesos_1_1internal_1_1local_1_1Flags.html#a3aa69974a24bbe5093003cd52d9acd69">mesos::internal::local::Flags</a>
@@ -350,7 +350,7 @@
 : <a class="el" href="structproc_1_1ProcessStatus.html#ae1165a6a5e77977d3d0ee8f081c8b4ca">proc::ProcessStatus</a>
 </li>
 <li>Number()
-: <a class="el" href="structJSON_1_1Number.html#a2d64671419def7448cd5540032458ca4">JSON::Number</a>
+: <a class="el" href="structJSON_1_1Number.html#a64361b5b1c34e311ab9407cbc6ccb136">JSON::Number</a>
 </li>
 <li>NumberWriter()
 : <a class="el" href="classJSON_1_1NumberWriter.html#ac248fb67aaa7f2bdeeccfd9cbd6b42e7">JSON::NumberWriter</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_p.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_p.html b/content/api/latest/c++/functions_p.html
index 4e7a744..ccbf20d 100644
--- a/content/api/latest/c++/functions_p.html
+++ b/content/api/latest/c++/functions_p.html
@@ -419,18 +419,18 @@
 <li>PosixMemIsolatorProcess()
 : <a class="el" href="classmesos_1_1internal_1_1slave_1_1PosixMemIsolatorProcess.html#ab8f8ec2dfe6a51fd5173086d653df78a">mesos::internal::slave::PosixMemIsolatorProcess</a>
 </li>
-<li>postValidation
-: <a class="el" href="classmesos_1_1ResourceConversion.html#a08a56bacb82357b13c8fa3f03e999781">mesos::ResourceConversion</a>
-</li>
 <li>PostValidation
 : <a class="el" href="classmesos_1_1ResourceConversion.html#aa9039c86575590f50e1e03cc3f42e9e6">mesos::ResourceConversion</a>
 </li>
 <li>postValidation
-: <a class="el" href="classmesos_1_1v1_1_1ResourceConversion.html#a2c8c762596677cbf622fb4dadd922c43">mesos::v1::ResourceConversion</a>
+: <a class="el" href="classmesos_1_1ResourceConversion.html#a08a56bacb82357b13c8fa3f03e999781">mesos::ResourceConversion</a>
 </li>
 <li>PostValidation
 : <a class="el" href="classmesos_1_1v1_1_1ResourceConversion.html#a29997789326dfb76ccd866cbb00cbf7d">mesos::v1::ResourceConversion</a>
 </li>
+<li>postValidation
+: <a class="el" href="classmesos_1_1v1_1_1ResourceConversion.html#a2c8c762596677cbf622fb4dadd922c43">mesos::v1::ResourceConversion</a>
+</li>
 <li>ppid
 : <a class="el" href="structproc_1_1ProcessStatus.html#ad0a83e9d469cab01eb3ceb70ab7f108d">proc::ProcessStatus</a>
 </li>
@@ -560,12 +560,12 @@
 <li>ProcessWatcher()
 : <a class="el" href="classProcessWatcher.html#ae6f5acc4af4d936adca882e2274e6491">ProcessWatcher&lt; T &gt;</a>
 </li>
-<li>producer
-: <a class="el" href="classprocess_1_1EventQueue.html#aa95046266e731af49ccfb9d689cb1eca">process::EventQueue</a>
-</li>
 <li>Producer
 : <a class="el" href="classprocess_1_1EventQueue.html#aaf00b363e56ec3a72a6f775a3814d6a0">process::EventQueue</a>
 </li>
+<li>producer
+: <a class="el" href="classprocess_1_1EventQueue.html#aa95046266e731af49ccfb9d689cb1eca">process::EventQueue</a>
+</li>
 <li>Profiler()
 : <a class="el" href="classprocess_1_1Profiler.html#ac3603ac30749c5f0bc2321769b9bb9a8">process::Profiler</a>
 </li>
@@ -680,7 +680,7 @@
 </li>
 <li>put()
 : <a class="el" href="classCache.html#a7b54629fb513d4b1652951bb713a0635">Cache&lt; Key, Value &gt;</a>
-, <a class="el" href="classhashmap.html#af69989fa69c86b7bf1843c9ae0f77124">hashmap&lt; Key, Value, Hash, Equal &gt;</a>
+, <a class="el" href="classhashmap.html#a040f93efd556981326f0809e0f24f9ef">hashmap&lt; Key, Value, Hash, Equal &gt;</a>
 , <a class="el" href="classmesos_1_1internal_1_1slave_1_1docker_1_1MetadataManager.html#af672706fe637c9cdad8144233718198e">mesos::internal::slave::docker::MetadataManager</a>
 , <a class="el" href="classmultihashmap.html#ae10d45cc115dd9f16c07e3fb9a980bca">multihashmap&lt; Key, Value, Hash, Equal &gt;</a>
 , <a class="el" href="classMultimap.html#a86848edcdc42b4e0b46e3d6beccec2c6">Multimap&lt; K, V &gt;</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_r.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_r.html b/content/api/latest/c++/functions_r.html
index 54201a7..2b82d2a 100644
--- a/content/api/latest/c++/functions_r.html
+++ b/content/api/latest/c++/functions_r.html
@@ -265,13 +265,13 @@
 </li>
 <li>recovered
 : <a class="el" href="structmesos_1_1internal_1_1log_1_1Metrics.html#ab90141d6a1f2a4c96c9626ff1106e299">mesos::internal::log::Metrics</a>
+, <a class="el" href="structmesos_1_1internal_1_1master_1_1Framework.html#ab5285e7b6a2266d1d12167d1a9f561d2">mesos::internal::master::Framework</a>
 </li>
 <li>RECOVERED
 : <a class="el" href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a2781c7e12fec2c505d95224df19bbea4">mesos::internal::master::Framework</a>
 </li>
-<li>recovered()
-: <a class="el" href="structmesos_1_1internal_1_1master_1_1Framework.html#ab5285e7b6a2266d1d12167d1a9f561d2">mesos::internal::master::Framework</a>
-, <a class="el" href="structmesos_1_1internal_1_1slave_1_1Slave_1_1RecoveryInfo.html#a2f6f939e181d233ae34f7f7133526d7b">mesos::internal::slave::Slave::RecoveryInfo</a>
+<li>recovered
+: <a class="el" href="structmesos_1_1internal_1_1slave_1_1Slave_1_1RecoveryInfo.html#a2f6f939e181d233ae34f7f7133526d7b">mesos::internal::slave::Slave::RecoveryInfo</a>
 </li>
 <li>recoveredSlavesTimeout()
 : <a class="el" href="classmesos_1_1internal_1_1master_1_1Master.html#ab609269957c32b5138b3bfc61194a789">mesos::internal::master::Master</a>
@@ -922,7 +922,7 @@
 : <a class="el" href="classmesos_1_1internal_1_1tests_1_1Rootfs.html#a0d1eefd3053932eceda17475fae5f95c">mesos::internal::tests::Rootfs</a>
 </li>
 <li>route()
-: <a class="el" href="classprocess_1_1ProcessBase.html#a37cf86bbf94884960c041e081a34bee4">process::ProcessBase</a>
+: <a class="el" href="classprocess_1_1ProcessBase.html#a70ff038897726b5ff2713e5d5602efa6">process::ProcessBase</a>
 </li>
 <li>RouteOptions()
 : <a class="el" href="structprocess_1_1ProcessBase_1_1RouteOptions.html#a9c202f7f06a7cb90499e3365ce338475">process::ProcessBase::RouteOptions</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_rela.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_rela.html b/content/api/latest/c++/functions_rela.html
index da6492a..ea822b8 100644
--- a/content/api/latest/c++/functions_rela.html
+++ b/content/api/latest/c++/functions_rela.html
@@ -342,14 +342,12 @@
 : <a class="el" href="classmesos_1_1state_1_1protobuf_1_1Variable.html#a7edbf9e31116a21e4e18cd2dd004ae63">mesos::state::protobuf::Variable&lt; T &gt;</a>
 , <a class="el" href="classmesos_1_1state_1_1Variable.html#a7edbf9e31116a21e4e18cd2dd004ae63">mesos::state::Variable</a>
 </li>
-<li>Subprocess
-: <a class="el" href="classprocess_1_1Subprocess_1_1IO.html#a3d12fd22e5deb76d3529ce4e6d9179dc">process::Subprocess::IO</a>
-</li>
 <li>subprocess
 : <a class="el" href="classprocess_1_1Subprocess_1_1IO.html#afa34ca045f618704548708d7c5e5d82a">process::Subprocess::IO</a>
 </li>
 <li>Subprocess
-: <a class="el" href="structprocess_1_1Subprocess_1_1ParentHook.html#a3d12fd22e5deb76d3529ce4e6d9179dc">process::Subprocess::ParentHook</a>
+: <a class="el" href="classprocess_1_1Subprocess_1_1IO.html#a3d12fd22e5deb76d3529ce4e6d9179dc">process::Subprocess::IO</a>
+, <a class="el" href="structprocess_1_1Subprocess_1_1ParentHook.html#a3d12fd22e5deb76d3529ce4e6d9179dc">process::Subprocess::ParentHook</a>
 </li>
 <li>subprocess
 : <a class="el" href="classprocess_1_1Subprocess.html#afa34ca045f618704548708d7c5e5d82a">process::Subprocess</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_s.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_s.html b/content/api/latest/c++/functions_s.html
index 5ed5a1f..11ed014 100644
--- a/content/api/latest/c++/functions_s.html
+++ b/content/api/latest/c++/functions_s.html
@@ -416,13 +416,13 @@
 , <a class="el" href="classmesos_1_1v1_1_1executor_1_1V0ToV1Adapter.html#a9fa50b0156cbc558c37fc221103ac833">mesos::v1::executor::V0ToV1Adapter</a>
 , <a class="el" href="classorg_1_1apache_1_1zookeeper_1_1server_1_1NIOServerCnxnFactory.html#aeb21636f2fcbc8811af2040912c9b1a7">org::apache::zookeeper::server::NIOServerCnxnFactory</a>
 , <a class="el" href="classprocess_1_1network_1_1internal_1_1LibeventSSLSocketImpl.html#a5d1386c7494d6681a764ddf0cff19e40">process::network::internal::LibeventSSLSocketImpl</a>
-, <a class="el" href="classprocess_1_1network_1_1internal_1_1Socket.html#a9d7ac9f641277f1c5f4e7dc6f5464845">process::network::internal::Socket&lt; AddressType &gt;</a>
 </li>
 <li>Shutdown
 : <a class="el" href="classprocess_1_1network_1_1internal_1_1Socket.html#ac5a52929658fbe1ed19b4b03bdd63904">process::network::internal::Socket&lt; AddressType &gt;</a>
 </li>
 <li>shutdown()
-: <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a04930363612888ceb04d517061a43f3e">process::network::internal::SocketImpl</a>
+: <a class="el" href="classprocess_1_1network_1_1internal_1_1Socket.html#a9d7ac9f641277f1c5f4e7dc6f5464845">process::network::internal::Socket&lt; AddressType &gt;</a>
+, <a class="el" href="classprocess_1_1network_1_1internal_1_1SocketImpl.html#a04930363612888ceb04d517061a43f3e">process::network::internal::SocketImpl</a>
 </li>
 <li>shutdownExecutor()
 : <a class="el" href="classmesos_1_1internal_1_1slave_1_1Slave.html#a268b5307f2796f9270acf6efaf29711c">mesos::internal::slave::Slave</a>
@@ -450,12 +450,12 @@
 <li>signature
 : <a class="el" href="classprocess_1_1http_1_1authentication_1_1JWT.html#a7a5314085fad497a929f9901cf55721a">process::http::authentication::JWT</a>
 </li>
-<li>SIGNED_INTEGER
-: <a class="el" href="structJSON_1_1Number.html#a156598d70937964dd8de2628351061aaac9c83af02af694c57497b0f1414b0779">JSON::Number</a>
-</li>
 <li>signed_integer
 : <a class="el" href="structJSON_1_1Number.html#a1ef5b2f34492821aec7eae82da8366b7">JSON::Number</a>
 </li>
+<li>SIGNED_INTEGER
+: <a class="el" href="structJSON_1_1Number.html#a156598d70937964dd8de2628351061aaac9c83af02af694c57497b0f1414b0779">JSON::Number</a>
+</li>
 <li>size()
 : <a class="el" href="classBoundedHashMap.html#aa0c84c4c9636449ab35ef13ecce36266">BoundedHashMap&lt; Key, Value &gt;</a>
 , <a class="el" href="classCache.html#aae4846f6fb5c598ae164e89129de1350">Cache&lt; Key, Value &gt;</a>
@@ -756,12 +756,12 @@
 <li>StateMachine()
 : <a class="el" href="classprocess_1_1StateMachine.html#ae57900c329ba1669ccfb98c1a0160652">process::StateMachine&lt; State &gt;</a>
 </li>
-<li>Statement
-: <a class="el" href="classprocess_1_1ControlFlow.html#af212ef291f73ba2e7b37586a577a794b">process::ControlFlow&lt; T &gt;</a>
-</li>
 <li>statement()
 : <a class="el" href="classprocess_1_1ControlFlow.html#a34752a25284d038dc5d4d9e551424cfe">process::ControlFlow&lt; T &gt;</a>
 </li>
+<li>Statement
+: <a class="el" href="classprocess_1_1ControlFlow.html#af212ef291f73ba2e7b37586a577a794b">process::ControlFlow&lt; T &gt;</a>
+</li>
 <li>StaticVariable()
 : <a class="el" href="classJvm_1_1StaticVariable.html#a4f72716c0683295c3ee73a05d3a914c2">Jvm::StaticVariable&lt; T, name, signature &gt;</a>
 </li>
@@ -917,7 +917,7 @@
 , <a class="el" href="structstrings_1_1internal_1_1stringify_3_01T_00_01true_01_4.html#a8bbe1c2705c0084a8e57f44524facf1b">strings::internal::stringify&lt; T, true &gt;</a>
 </li>
 <li>StringWriter()
-: <a class="el" href="classJSON_1_1StringWriter.html#af2d977fce1c821dd499796870c642f59">JSON::StringWriter</a>
+: <a class="el" href="classJSON_1_1StringWriter.html#a3e5c995b672908c97ff50420224b0185">JSON::StringWriter</a>
 </li>
 <li>stub_type
 : <a class="el" href="structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html#af96bd68c2ee624f2bade6bb587726897">process::grpc::client::internal::MethodTraits&lt; std::unique_ptr&lt;::grpc::ClientAsyncResponseReader&lt; Response &gt; &gt;(Stub::*)(::grpc::ClientContext *, const Request &amp;,::grpc::CompletionQueue *)&gt;</a>
@@ -925,12 +925,14 @@
 <li>submitScheduler()
 : <a class="el" href="classmesos_1_1internal_1_1master_1_1Master.html#a10612b0c349105c4e3ac1cb8bc48210f">mesos::internal::master::Master</a>
 </li>
+<li>Subprocess
+: <a class="el" href="classprocess_1_1Subprocess_1_1IO.html#a3d12fd22e5deb76d3529ce4e6d9179dc">process::Subprocess::IO</a>
+</li>
 <li>subprocess
 : <a class="el" href="classprocess_1_1Subprocess_1_1IO.html#afa34ca045f618704548708d7c5e5d82a">process::Subprocess::IO</a>
 </li>
 <li>Subprocess
-: <a class="el" href="classprocess_1_1Subprocess_1_1IO.html#a3d12fd22e5deb76d3529ce4e6d9179dc">process::Subprocess::IO</a>
-, <a class="el" href="structprocess_1_1Subprocess_1_1ParentHook.html#a3d12fd22e5deb76d3529ce4e6d9179dc">process::Subprocess::ParentHook</a>
+: <a class="el" href="structprocess_1_1Subprocess_1_1ParentHook.html#a3d12fd22e5deb76d3529ce4e6d9179dc">process::Subprocess::ParentHook</a>
 </li>
 <li>subprocess
 : <a class="el" href="classprocess_1_1Subprocess.html#afa34ca045f618704548708d7c5e5d82a">process::Subprocess</a>
@@ -1056,7 +1058,7 @@
 : <a class="el" href="classSynchronized.html#a6f1fcefdbc244929d3a3efce643d1a42">Synchronized&lt; T &gt;</a>
 </li>
 <li>sysctl()
-: <a class="el" href="structos_1_1sysctl.html#a670413ae2850bb31a74f552672accf40">os::sysctl</a>
+: <a class="el" href="structos_1_1sysctl.html#a86356cee57ee889e8353fc488a5e61a1">os::sysctl</a>
 </li>
 <li>sysname
 : <a class="el" href="structos_1_1UTSInfo.html#a6d960255088be07cac7157b7cbe94cbf">os::UTSInfo</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_t.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_t.html b/content/api/latest/c++/functions_t.html
index e341c04..e78ca31 100644
--- a/content/api/latest/c++/functions_t.html
+++ b/content/api/latest/c++/functions_t.html
@@ -313,7 +313,7 @@
 , <a class="el" href="structprocess_1_1grpc_1_1client_1_1CallOptions.html#ad20c38ae483b90d87ecb089c3973e27f">process::grpc::client::CallOptions</a>
 </li>
 <li>Timeout()
-: <a class="el" href="classprocess_1_1Timeout.html#aa92e0df435b3ef095e9fc40313600334">process::Timeout</a>
+: <a class="el" href="classprocess_1_1Timeout.html#adeadd19e081fb4f2a0a39ecc586a4af7">process::Timeout</a>
 </li>
 <li>timeout()
 : <a class="el" href="classprocess_1_1Timer.html#adcce3e5538751535be6ec4d48670eb89">process::Timer</a>
@@ -423,37 +423,37 @@
 <li>type
 : <a class="el" href="structboost_1_1icl_1_1interval__bound__type_3_01Interval_3_01T_01_4_01_4.html#a1fb0c27f4ab926a92987cd26571c1cd9">boost::icl::interval_bound_type&lt; Interval&lt; T &gt; &gt;</a>
 , <a class="el" href="structboost_1_1icl_1_1interval__traits_3_01Interval_3_01T_01_4_01_4.html#a78dfbb0c4101084fe49212f1867c04d2">boost::icl::interval_traits&lt; Interval&lt; T &gt; &gt;</a>
+, <a class="el" href="structcgroups_1_1devices_1_1Entry_1_1Selector.html#ae7566a068a554a9727f32aa50f3eeb81">cgroups::devices::Entry::Selector</a>
 </li>
 <li>Type
 : <a class="el" href="structcgroups_1_1devices_1_1Entry_1_1Selector.html#a3901fb22702c5ae9ca80a4ea0093e8f4">cgroups::devices::Entry::Selector</a>
 </li>
 <li>type
-: <a class="el" href="structcgroups_1_1devices_1_1Entry_1_1Selector.html#ae7566a068a554a9727f32aa50f3eeb81">cgroups::devices::Entry::Selector</a>
-, <a class="el" href="structcpp14_1_1internal_1_1IntegerSequenceGen_3_01T_00_010_00_01Is_8_8_8_01_4.html#a5f00d8d117a878f2a44a2c0870905a20">cpp14::internal::IntegerSequenceGen&lt; T, 0, Is... &gt;</a>
+: <a class="el" href="structcpp14_1_1internal_1_1IntegerSequenceGen_3_01T_00_010_00_01Is_8_8_8_01_4.html#a5f00d8d117a878f2a44a2c0870905a20">cpp14::internal::IntegerSequenceGen&lt; T, 0, Is... &gt;</a>
+, <a class="el" href="structJSON_1_1Number.html#a2e9d12ef7b37989c7c1bf2b89dc31690">JSON::Number</a>
 </li>
 <li>Type
 : <a class="el" href="structJSON_1_1Number.html#a156598d70937964dd8de2628351061aa">JSON::Number</a>
 </li>
 <li>type
-: <a class="el" href="structJSON_1_1Number.html#a2e9d12ef7b37989c7c1bf2b89dc31690">JSON::Number</a>
-, <a class="el" href="structmesos_1_1csi_1_1paths_1_1ContainerPath.html#ae82c8eee1ce13cbd2d0da44e29134b1f">mesos::csi::paths::ContainerPath</a>
+: <a class="el" href="structmesos_1_1csi_1_1paths_1_1ContainerPath.html#ae82c8eee1ce13cbd2d0da44e29134b1f">mesos::csi::paths::ContainerPath</a>
 , <a class="el" href="structmesos_1_1csi_1_1paths_1_1VolumePath.html#a932b55eda0d5df1444fe5e15adba876d">mesos::csi::paths::VolumePath</a>
+, <a class="el" href="classmesos_1_1internal_1_1FilesError.html#aef08f763f1a964529d6e612e5ab49db4">mesos::internal::FilesError</a>
 </li>
 <li>Type
 : <a class="el" href="classmesos_1_1internal_1_1FilesError.html#ace93cf1c2ae2be0671102df57ed0b5a1">mesos::internal::FilesError</a>
 </li>
 <li>type
-: <a class="el" href="classmesos_1_1internal_1_1FilesError.html#aef08f763f1a964529d6e612e5ab49db4">mesos::internal::FilesError</a>
-, <a class="el" href="structmesos_1_1internal_1_1fs_1_1MountInfoTable_1_1Entry.html#abb78c2f10d58e5d2c8bdd47a459d832b">mesos::internal::fs::MountInfoTable::Entry</a>
+: <a class="el" href="structmesos_1_1internal_1_1fs_1_1MountInfoTable_1_1Entry.html#abb78c2f10d58e5d2c8bdd47a459d832b">mesos::internal::fs::MountInfoTable::Entry</a>
 , <a class="el" href="structmesos_1_1internal_1_1fs_1_1MountTable_1_1Entry.html#a59c7e9a32021a096821a898eb03b20e1">mesos::internal::fs::MountTable::Entry</a>
 , <a class="el" href="classmesos_1_1internal_1_1log_1_1tool_1_1Benchmark_1_1Flags.html#a523f498c1c3ca96190b8a654b9a329f2">mesos::internal::log::tool::Benchmark::Flags</a>
+, <a class="el" href="structmesos_1_1internal_1_1ResourceProviderMessage.html#a52b40b56ae9bf3e8d7d96e4a71929cf9">mesos::internal::ResourceProviderMessage</a>
 </li>
 <li>Type
 : <a class="el" href="structmesos_1_1internal_1_1ResourceProviderMessage.html#a1d0830e5e578ade7d92f9908efe8a5c5">mesos::internal::ResourceProviderMessage</a>
 </li>
 <li>type
-: <a class="el" href="structmesos_1_1internal_1_1ResourceProviderMessage.html#a52b40b56ae9bf3e8d7d96e4a71929cf9">mesos::internal::ResourceProviderMessage</a>
-, <a class="el" href="structmesos_1_1internal_1_1tests_1_1ZooKeeperTest_1_1TestWatcher_1_1Event.html#ac0d29e60c4e42c93fcd2c5f702f27d45">mesos::internal::tests::ZooKeeperTest::TestWatcher::Event</a>
+: <a class="el" href="structmesos_1_1internal_1_1tests_1_1ZooKeeperTest_1_1TestWatcher_1_1Event.html#ac0d29e60c4e42c93fcd2c5f702f27d45">mesos::internal::tests::ZooKeeperTest::TestWatcher::Event</a>
 </li>
 <li>Type
 : <a class="el" href="classmesos_1_1slave_1_1ContainerIO_1_1IO.html#a7c8f14a0efec6a09b957d5d24b8f9e99">mesos::slave::ContainerIO::IO</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_u.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_u.html b/content/api/latest/c++/functions_u.html
index 31cd793..116b3c1 100644
--- a/content/api/latest/c++/functions_u.html
+++ b/content/api/latest/c++/functions_u.html
@@ -299,11 +299,13 @@
 , <a class="el" href="classmesos_1_1internal_1_1slave_1_1XfsDiskIsolatorProcess.html#ab2351a69f1f7ed476aa6f11e9401055a">mesos::internal::slave::XfsDiskIsolatorProcess</a>
 , <a class="el" href="classmesos_1_1internal_1_1StatusUpdateManagerProcess.html#a1658b4adb952dc5e20465e31d572633b">mesos::internal::StatusUpdateManagerProcess&lt; IDType, CheckpointType, UpdateType &gt;</a>
 , <a class="el" href="classmesos_1_1slave_1_1Isolator.html#aa4e5910588131613e4c10903282dc252">mesos::slave::Isolator</a>
-, <a class="el" href="classprocess_1_1Clock.html#a196836d438ff28617159c9e682be3656">process::Clock</a>
 </li>
 <li>Update
 : <a class="el" href="classprocess_1_1Clock.html#a1e639da11c2a00b3bffd3391d4a9412f">process::Clock</a>
 </li>
+<li>update()
+: <a class="el" href="classprocess_1_1Clock.html#a196836d438ff28617159c9e682be3656">process::Clock</a>
+</li>
 <li>updateAllocation()
 : <a class="el" href="classmesos_1_1allocator_1_1Allocator.html#aa8ee61bea88a926c920e909571f836dd">mesos::allocator::Allocator</a>
 , <a class="el" href="classmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess.html#a257182b5b97d3fdbeb397e5814639b28">mesos::internal::master::allocator::internal::HierarchicalAllocatorProcess</a>
@@ -434,7 +436,7 @@
 , <a class="el" href="structprocess_1_1http_1_1Request.html#aba3024fe3e1028d19f5fb4e92519cb56">process::http::Request</a>
 </li>
 <li>URL()
-: <a class="el" href="structprocess_1_1http_1_1URL.html#a6f6a9c959c9bb1519f1c29192aa4a407">process::http::URL</a>
+: <a class="el" href="structprocess_1_1http_1_1URL.html#a0405a5eae13705f0cfe7b78e2928bc5f">process::http::URL</a>
 </li>
 <li>us()
 : <a class="el" href="classDuration.html#ab4bc8981d3ac26e3880e57e19f7f7f92">Duration</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_v.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_v.html b/content/api/latest/c++/functions_v.html
index fa93395..a4e4849 100644
--- a/content/api/latest/c++/functions_v.html
+++ b/content/api/latest/c++/functions_v.html
@@ -247,7 +247,7 @@
 <li>visit()
 : <a class="el" href="structprocess_1_1DispatchEvent.html#a0e76d6c1283c8e70858d7099be34a5ba">process::DispatchEvent</a>
 , <a class="el" href="structprocess_1_1Event.html#a8756ddd411b61f8f1710e13d82e71037">process::Event</a>
-, <a class="el" href="structprocess_1_1EventVisitor.html#ac5a1087909568bbac1213d32105e1221">process::EventVisitor</a>
+, <a class="el" href="structprocess_1_1EventVisitor.html#a699f0cd053139bdcee787f51194bbc5e">process::EventVisitor</a>
 , <a class="el" href="structprocess_1_1ExitedEvent.html#aacae7e724b82f3f33f640b9026e163c8">process::ExitedEvent</a>
 , <a class="el" href="structprocess_1_1HttpEvent.html#aef4ca1f2279a4207d18c695fc6510a10">process::HttpEvent</a>
 , <a class="el" href="structprocess_1_1MessageEvent.html#a075568b289b0075487233208e5b1fe7d">process::MessageEvent</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/functions_w.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_w.html b/content/api/latest/c++/functions_w.html
index e14d975..d864aac 100644
--- a/content/api/latest/c++/functions_w.html
+++ b/content/api/latest/c++/functions_w.html
@@ -170,12 +170,12 @@
 <li>webui_dir
 : <a class="el" href="classmesos_1_1internal_1_1master_1_1Flags.html#a94a63a333e884c51856ce197f29f8e89">mesos::internal::master::Flags</a>
 </li>
-<li>WEEKS
-: <a class="el" href="classDuration.html#aadcf23b757330ae23ee70117aec0656e">Duration</a>
-</li>
 <li>weeks()
 : <a class="el" href="classDuration.html#ae98a411bf78d0ab537c021bf3dbd01b0">Duration</a>
 </li>
+<li>WEEKS
+: <a class="el" href="classDuration.html#aadcf23b757330ae23ee70117aec0656e">Duration</a>
+</li>
 <li>Weeks()
 : <a class="el" href="classWeeks.html#a2606052f27e4baecbf6eb75bd695a034">Weeks</a>
 </li>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/index.hhc
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/index.hhc b/content/api/latest/c++/index.hhc
index bf4f635..e73c8fb 100644
--- a/content/api/latest/c++/index.hhc
+++ b/content/api/latest/c++/index.hhc
@@ -8965,7 +8965,7 @@
     <LI><OBJECT type="text/sitemap"><param name="Name" value="Path"><param name="Local" value="classPath.html"><param name="ImageNumber" value="1"></OBJECT>
       <UL>
       <LI><OBJECT type="text/sitemap"><param name="Name" value="Path"><param name="Local" value="classPath.html#af26cfab021ddf49af73da3b2beca85ac"><param name="ImageNumber" value="11"></OBJECT>
-      <LI><OBJECT type="text/sitemap"><param name="Name" value="Path"><param name="Local" value="classPath.html#a91965ddddabd9a15374ab51f6847f8b6"><param name="ImageNumber" value="11"></OBJECT>
+      <LI><OBJECT type="text/sitemap"><param name="Name" value="Path"><param name="Local" value="classPath.html#a0692f84b3a0e350ff0e072469bb11f5c"><param name="ImageNumber" value="11"></OBJECT>
       <LI><OBJECT type="text/sitemap"><param name="Name" value="absolute"><param name="Local" value="classPath.html#a240c7b71a23c8e97b5490dbae75cc948"><param name="ImageNumber" value="11"></OBJECT>
       <LI><OBJECT type="text/sitemap"><param name="Name" value="basename"><param name="Local" value="classPath.html#a11c34646ac636526f1b28b61057f3b1f"><param name="ImageNumber" value="11"></OBJECT>
       <LI><OBJECT type="text/sitemap"><param name="Name" value="dirname"><param name="Local" value="classPath.html#a0449e93ffb615ef7fd198ef03dd1100c"><param name="ImageNumber" value="11"></OBJECT>
@@ -16191,7 +16191,7 @@
               <LI><OBJECT type="text/sitemap"><param name="Name" value="Path"><param name="Local" value="classPath.html"><param name="ImageNumber" value="1"></OBJECT>
                 <UL>
                 <LI><OBJECT type="text/sitemap"><param name="Name" value="Path"><param name="Local" value="classPath.html#af26cfab021ddf49af73da3b2beca85ac"><param name="ImageNumber" value="11"></OBJECT>
-                <LI><OBJECT type="text/sitemap"><param name="Name" value="Path"><param name="Local" value="classPath.html#a91965ddddabd9a15374ab51f6847f8b6"><param name="ImageNumber" value="11"></OBJECT>
+                <LI><OBJECT type="text/sitemap"><param name="Name" value="Path"><param name="Local" value="classPath.html#a0692f84b3a0e350ff0e072469bb11f5c"><param name="ImageNumber" value="11"></OBJECT>
                 <LI><OBJECT type="text/sitemap"><param name="Name" value="absolute"><param name="Local" value="classPath.html#a240c7b71a23c8e97b5490dbae75cc948"><param name="ImageNumber" value="11"></OBJECT>
                 <LI><OBJECT type="text/sitemap"><param name="Name" value="basename"><param name="Local" value="classPath.html#a11c34646ac636526f1b28b61057f3b1f"><param name="ImageNumber" value="11"></OBJECT>
                 <LI><OBJECT type="text/sitemap"><param name="Name" value="dirname"><param name="Local" value="classPath.html#a0449e93ffb615ef7fd198ef03dd1100c"><param name="ImageNumber" value="11"></OBJECT>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/linux_2cgroups_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/linux_2cgroups_8hpp_source.html b/content/api/latest/c++/linux_2cgroups_8hpp_source.html
index 5cba4f0..52e9e6a 100644
--- a/content/api/latest/c++/linux_2cgroups_8hpp_source.html
+++ b/content/api/latest/c++/linux_2cgroups_8hpp_source.html
@@ -134,7 +134,7 @@
 <div class="ttc" id="namespacecgroups_1_1cpu_html_a3dce3f8b007bfed935123517acde8b2c"><div class="ttname"><a href="namespacecgroups_1_1cpu.html#a3dce3f8b007bfed935123517acde8b2c">cgroups::cpu::cfs_quota_us</a></div><div class="ttdeci">Try&lt; Nothing &gt; cfs_quota_us(const std::string &amp;hierarchy, const std::string &amp;cgroup, const Duration &amp;duration)</div></div>
 <div class="ttc" id="namespaceos_html_ae19e4161a51b86a1f330f3bf1dc75389"><div class="ttname"><a href="namespaceos.html#ae19e4161a51b86a1f330f3bf1dc75389">os::process</a></div><div class="ttdeci">Result&lt; Process &gt; process(pid_t pid)</div><div class="ttdef"><b>Definition:</b> freebsd.hpp:30</div></div>
 <div class="ttc" id="namespacecgroups_1_1blkio_1_1cfq_html_ae3f0e921bf0b5bb3815d7c12f162a0a0"><div class="ttname"><a href="namespacecgroups_1_1blkio_1_1cfq.html#ae3f0e921bf0b5bb3815d7c12f162a0a0">cgroups::blkio::cfq::io_serviced_recursive</a></div><div class="ttdeci">Try&lt; std::vector&lt; Value &gt; &gt; io_serviced_recursive(const std::string &amp;hierarchy, const std::string &amp;cgroup)</div></div>
-<div class="ttc" id="path_8hpp_html_ad31aaa5ed4d55b1f295094e3fa84d769"><div class="ttname"><a href="path_8hpp.html#ad31aaa5ed4d55b1f295094e3fa84d769">operator==</a></div><div class="ttdeci">bool operator==(const Path &amp;left, const Path &amp;right)</div><div class="ttdef"><b>Definition:</b> path.hpp:327</div></div>
+<div class="ttc" id="path_8hpp_html_ad31aaa5ed4d55b1f295094e3fa84d769"><div class="ttname"><a href="path_8hpp.html#ad31aaa5ed4d55b1f295094e3fa84d769">operator==</a></div><div class="ttdeci">bool operator==(const Path &amp;left, const Path &amp;right)</div><div class="ttdef"><b>Definition:</b> path.hpp:331</div></div>
 <div class="ttc" id="classcgroups_1_1blkio_1_1Device_html_a0f1f2e35fe5525c879b74514ded15871"><div class="ttname"><a href="classcgroups_1_1blkio_1_1Device.html#a0f1f2e35fe5525c879b74514ded15871">cgroups::blkio::Device::Device</a></div><div class="ttdeci">constexpr Device(dev_t device)</div><div class="ttdef"><b>Definition:</b> cgroups.hpp:417</div></div>
 <div class="ttc" id="try_8hpp_html"><div class="ttname"><a href="try_8hpp.html">try.hpp</a></div></div>
 <div class="ttc" id="namespacecgroups_html_aa3c1a4d4d11cca392dc45ff363718fc1"><div class="ttname"><a href="namespacecgroups.html#aa3c1a4d4d11cca392dc45ff363718fc1">cgroups::mount</a></div><div class="ttdeci">Try&lt; Nothing &gt; mount(const std::string &amp;hierarchy, const std::string &amp;subsystems, int retry=0)</div></div>