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 2017/11/30 03:49:26 UTC
[04/18] mesos-site git commit: Updated the website built from mesos
SHA: 5dd3b29.
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/30b7fa50/content/api/latest/c++/windows_2rm_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/windows_2rm_8hpp_source.html b/content/api/latest/c++/windows_2rm_8hpp_source.html
index 78b996f..135a906 100644
--- a/content/api/latest/c++/windows_2rm_8hpp_source.html
+++ b/content/api/latest/c++/windows_2rm_8hpp_source.html
@@ -76,55 +76,109 @@
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <<a class="code" href="3rdparty_2stout_2include_2stout_2windows_8hpp.html">stout/windows.hpp</a>></span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="stat_8hpp.html">stout/os/stat.hpp</a>></span></div>
-<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div>
-<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" href="longpath_8hpp.html">stout/internal/windows/longpath.hpp</a>></span></div>
-<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <<a class="code" href="windows_2os_8hpp.html">stout/windows/os.hpp</a>></span></div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <<a class="code" href="longpath_8hpp.html">stout/internal/windows/longpath.hpp</a>></span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div>
-<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">namespace </span>os {</div>
-<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div>
-<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">inline</span> <a class="code" href="classTry.html">Try<Nothing></a> <a class="code" href="namespaceos.html#ac1c8ce3595084d78291f98c2be9f62ba">rm</a>(<span class="keyword">const</span> std::string& path)</div>
-<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div>
-<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="comment">// This function uses either `RemoveDirectory` or `DeleteFile` to remove the</span></div>
-<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="comment">// actual filesystem entry. These WinAPI functions are being used instead of</span></div>
-<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="comment">// the POSIX `remove` because their behavior when it comes to symbolic links</span></div>
-<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="comment">// is well documented in MSDN[1][2]. Whenever called on a symbolic link, both</span></div>
-<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="comment">// `RemoveDirectory` and `DeleteFile` act on the symlink itself, rather than</span></div>
-<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="comment">// its target.</span></div>
-<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">//</span></div>
-<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="comment">// Because `RemoveDirectory` fails if the specified path is not an empty</span></div>
-<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="comment">// directory, its behavior is consistent with the POSIX[3] `remove`[3] (which</span></div>
-<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="comment">// uses `rmdir`[4]).</span></div>
-<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="comment">//</span></div>
-<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="comment">// [1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa365488(v=vs.85).aspx</span></div>
-<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">// [2] https://msdn.microsoft.com/en-us/library/windows/desktop/aa365682(v=vs.85).aspx#deletefile_and_deletefiletransacted</span></div>
-<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="comment">// [3] http://pubs.opengroup.org/onlinepubs/009695399/functions/remove.html</span></div>
-<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// [4] http://pubs.opengroup.org/onlinepubs/009695399/functions/rmdir.html</span></div>
-<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keyword">const</span> std::wstring <a class="code" href="namespaceinternal_1_1windows.html#abd7dbdbc8d95626d0c66455078380aa1">longpath</a> = <a class="code" href="namespaceinternal_1_1windows.html#abd7dbdbc8d95626d0c66455078380aa1">::internal::windows::longpath</a>(path);</div>
-<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">const</span> BOOL result = <a class="code" href="namespaceos_1_1stat.html#aa86aaa21fefc0e9cab89050b60aeca40">os::stat::isdir</a>(path)</div>
-<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  ? ::RemoveDirectoryW(longpath.data())</div>
-<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  : ::DeleteFileW(longpath.data());</div>
-<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div>
-<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">if</span> (!result) {</div>
-<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keywordflow">return</span> <a class="code" href="classWindowsError.html">WindowsError</a>(<span class="stringliteral">"`os::rm` could not remove '"</span> + path + <span class="stringliteral">"'"</span>);</div>
-<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  }</div>
-<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div>
-<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordflow">return</span> <a class="code" href="structNothing.html">Nothing</a>();</div>
-<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> }</div>
-<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div>
-<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> } <span class="comment">// namespace os {</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">namespace </span>internal {</div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">namespace </span>windows {</div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="comment">// NOTE: File and directory deletion on Windows is an asynchronous operation,</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// and there is no built-in way to "wait" on the deletion. So we wait by</span></div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// checking for the path's existence until there is a "file not found" error.</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// Until the file is actually deleted, this will loop on an access denied error</span></div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="comment">// (the file exists but has been marked for deletion).</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="namespaceinternal_1_1windows.html#ac9fbbbc8bb9b553f3ad1abac7c9a81c3"> 38</a></span> <span class="keyword">inline</span> <a class="code" href="classTry.html">Try<Nothing></a> <a class="code" href="namespaceinternal_1_1windows.html#ac9fbbbc8bb9b553f3ad1abac7c9a81c3">wait_on_delete</a>(<span class="keyword">const</span> std::string& path)</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> {</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="comment">// Try for 1 second in 10 intervals of 100 ms.</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i < 10; ++i) {</div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="comment">// This should always fail if the file has been marked for deletion.</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">const</span> DWORD attributes =</div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  ::GetFileAttributesW(::<a class="code" href="namespaceinternal_1_1windows.html#abd7dbdbc8d95626d0c66455078380aa1">internal::windows::longpath</a>(path).data());</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  CHECK_EQ(attributes, INVALID_FILE_ATTRIBUTES);</div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">const</span> DWORD <a class="code" href="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec.html#ae58e703656ab4a1bd5d9870441236727">error</a> = ::GetLastError();</div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div>
+<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">if</span> (error == ERROR_ACCESS_DENIED) {</div>
+<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  LOG(WARNING) << <span class="stringliteral">"Waiting for file "</span> << path << <span class="stringliteral">" to be deleted"</span>;</div>
+<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <a class="code" href="namespaceos.html#ab2b826c68a25af9e9ef47c570c36e137">os::sleep</a>(<a class="code" href="classMilliseconds.html">Milliseconds</a>(100));</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (error == ERROR_FILE_NOT_FOUND) {</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="comment">// The file is truly gone, stop waiting.</span></div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordflow">return</span> <a class="code" href="structNothing.html">Nothing</a>();</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  } <span class="keywordflow">else</span> {</div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordflow">return</span> <a class="code" href="classWindowsError.html">WindowsError</a>(error);</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  }</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  }</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">return</span> <a class="code" href="classError.html">Error</a>(<span class="stringliteral">"Timed out when waiting for file "</span> + path + <span class="stringliteral">" to be deleted"</span>);</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> }</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> </div>
-<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#endif // __STOUT_OS_WINDOWS_RM_HPP__</span></div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> } <span class="comment">// namespace windows {</span></div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> } <span class="comment">// namespace internal {</span></div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">namespace </span>os {</div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="keyword">inline</span> <a class="code" href="classTry.html">Try<Nothing></a> <a class="code" href="namespaceos.html#ac1c8ce3595084d78291f98c2be9f62ba">rm</a>(<span class="keyword">const</span> std::string& path)</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> {</div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="comment">// This function uses either `RemoveDirectory` or `DeleteFile` to remove the</span></div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">// actual filesystem entry. These WinAPI functions are being used instead of</span></div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="comment">// the POSIX `remove` because their behavior when it comes to symbolic links</span></div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="comment">// is well documented in MSDN[1][2]. Whenever called on a symbolic link, both</span></div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="comment">// `RemoveDirectory` and `DeleteFile` act on the symlink itself, rather than</span></div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="comment">// its target.</span></div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">//</span></div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">// Because `RemoveDirectory` fails if the specified path is not an empty</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">// directory, its behavior is consistent with the POSIX[3] `remove`[3] (which</span></div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="comment">// uses `rmdir`[4]).</span></div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="comment">//</span></div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="comment">// [1] https://msdn.microsoft.com/en-us/library/windows/desktop/aa365488(v=vs.85).aspx</span></div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// [2] https://msdn.microsoft.com/en-us/library/windows/desktop/aa365682(v=vs.85).aspx#deletefile_and_deletefiletransacted</span></div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="comment">// [3] http://pubs.opengroup.org/onlinepubs/009695399/functions/remove.html</span></div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">// [4] http://pubs.opengroup.org/onlinepubs/009695399/functions/rmdir.html</span></div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">const</span> std::wstring <a class="code" href="namespaceinternal_1_1windows.html#abd7dbdbc8d95626d0c66455078380aa1">longpath</a> = <a class="code" href="namespaceinternal_1_1windows.html#abd7dbdbc8d95626d0c66455078380aa1">::internal::windows::longpath</a>(path);</div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">const</span> BOOL result = <a class="code" href="namespaceos_1_1stat.html#aa86aaa21fefc0e9cab89050b60aeca40">os::stat::isdir</a>(path)</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  ? ::RemoveDirectoryW(longpath.data())</div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  : ::DeleteFileW(longpath.data());</div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keywordflow">if</span> (!result) {</div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">return</span> <a class="code" href="classWindowsError.html">WindowsError</a>();</div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  }</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="comment">// This wait is necessary because the `RemoveDirectory` API does not know to</span></div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="comment">// wait for pending deletions of files in the directory, and can otherwise</span></div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="comment">// immediately fail with "directory not empty" if there still exists a marked</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">// for deletion but not yet deleted file. By making waiting synchronously, we</span></div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="comment">// gain the behavior of the POSIX API.</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <a class="code" href="classTry.html">Try<Nothing></a> deleted = <a class="code" href="namespaceinternal_1_1windows.html#ac9fbbbc8bb9b553f3ad1abac7c9a81c3">::internal::windows::wait_on_delete</a>(path);</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordflow">if</span> (deleted.<a class="code" href="classTry.html#a0b98f95163b8a38daafd1651b043a276">isError</a>()) {</div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keywordflow">return</span> <a class="code" href="classError.html">Error</a>(<span class="stringliteral">"wait_on_delete failed "</span> + deleted.<a class="code" href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">error</a>());</div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  }</div>
+<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> </div>
+<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">return</span> <a class="code" href="structNothing.html">Nothing</a>();</div>
+<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> }</div>
+<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> </div>
+<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> } <span class="comment">// namespace os {</span></div>
+<div class="line"><a name="l00107"></a><span class="lineno"> 107</span> </div>
+<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="preprocessor">#endif // __STOUT_OS_WINDOWS_RM_HPP__</span></div>
<div class="ttc" id="structNothing_html"><div class="ttname"><a href="structNothing.html">Nothing</a></div><div class="ttdef"><b>Definition:</b> nothing.hpp:16</div></div>
+<div class="ttc" id="classError_html"><div class="ttname"><a href="classError.html">Error</a></div><div class="ttdef"><b>Definition:</b> errorbase.hpp:35</div></div>
<div class="ttc" id="namespaceos_html_ac1c8ce3595084d78291f98c2be9f62ba"><div class="ttname"><a href="namespaceos.html#ac1c8ce3595084d78291f98c2be9f62ba">os::rm</a></div><div class="ttdeci">Try< Nothing > rm(const std::string &path)</div><div class="ttdef"><b>Definition:</b> rm.hpp:26</div></div>
<div class="ttc" id="classTry_html"><div class="ttname"><a href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> try.hpp:34</div></div>
+<div class="ttc" id="namespaceos_html_ab2b826c68a25af9e9ef47c570c36e137"><div class="ttname"><a href="namespaceos.html#ab2b826c68a25af9e9ef47c570c36e137">os::sleep</a></div><div class="ttdeci">Try< Nothing > sleep(const Duration &duration)</div><div class="ttdef"><b>Definition:</b> os.hpp:221</div></div>
<div class="ttc" id="classWindowsError_html"><div class="ttname"><a href="classWindowsError.html">WindowsError</a></div><div class="ttdef"><b>Definition:</b> error.hpp:106</div></div>
+<div class="ttc" id="namespaceinternal_1_1windows_html_ac9fbbbc8bb9b553f3ad1abac7c9a81c3"><div class="ttname"><a href="namespaceinternal_1_1windows.html#ac9fbbbc8bb9b553f3ad1abac7c9a81c3">internal::windows::wait_on_delete</a></div><div class="ttdeci">Try< Nothing > wait_on_delete(const std::string &path)</div><div class="ttdef"><b>Definition:</b> rm.hpp:38</div></div>
<div class="ttc" id="3rdparty_2stout_2include_2stout_2windows_8hpp_html"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2windows_8hpp.html">windows.hpp</a></div></div>
+<div class="ttc" id="classMilliseconds_html"><div class="ttname"><a href="classMilliseconds.html">Milliseconds</a></div><div class="ttdef"><b>Definition:</b> duration.hpp:241</div></div>
<div class="ttc" id="nothing_8hpp_html"><div class="ttname"><a href="nothing_8hpp.html">nothing.hpp</a></div></div>
<div class="ttc" id="longpath_8hpp_html"><div class="ttname"><a href="longpath_8hpp.html">longpath.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 &e)</div><div class="ttdef"><b>Definition:</b> try.hpp:42</div></div>
<div class="ttc" id="error_8hpp_html"><div class="ttname"><a href="error_8hpp.html">error.hpp</a></div></div>
+<div class="ttc" id="classTry_html_a0b98f95163b8a38daafd1651b043a276"><div class="ttname"><a href="classTry.html#a0b98f95163b8a38daafd1651b043a276">Try::isError</a></div><div class="ttdeci">bool isError() const </div><div class="ttdef"><b>Definition:</b> try.hpp:71</div></div>
+<div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec_html_ae58e703656ab4a1bd5d9870441236727"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec.html#ae58e703656ab4a1bd5d9870441236727">mesos::internal::slave::cni::spec::error</a></div><div class="ttdeci">std::string error(const std::string &msg, uint32_t code)</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="stat_8hpp_html"><div class="ttname"><a href="stat_8hpp.html">stat.hpp</a></div></div>
<div class="ttc" id="namespaceos_1_1stat_html_aa86aaa21fefc0e9cab89050b60aeca40"><div class="ttname"><a href="namespaceos_1_1stat.html#aa86aaa21fefc0e9cab89050b60aeca40">os::stat::isdir</a></div><div class="ttdeci">bool isdir(const std::string &path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)</div><div class="ttdef"><b>Definition:</b> stat.hpp:78</div></div>
+<div class="ttc" id="windows_2os_8hpp_html"><div class="ttname"><a href="windows_2os_8hpp.html">os.hpp</a></div></div>
<div class="ttc" id="namespaceinternal_1_1windows_html_abd7dbdbc8d95626d0c66455078380aa1"><div class="ttname"><a href="namespaceinternal_1_1windows.html#abd7dbdbc8d95626d0c66455078380aa1">internal::windows::longpath</a></div><div class="ttdeci">std::wstring longpath(const std::string &path)</div><div class="ttdef"><b>Definition:</b> longpath.hpp:38</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/30b7fa50/content/api/latest/c++/windows_2rmdir_8hpp.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/windows_2rmdir_8hpp.html b/content/api/latest/c++/windows_2rmdir_8hpp.html
index b049762..1c598d6 100644
--- a/content/api/latest/c++/windows_2rmdir_8hpp.html
+++ b/content/api/latest/c++/windows_2rmdir_8hpp.html
@@ -55,17 +55,17 @@
<div class="title">rmdir.hpp File Reference</div> </div>
</div><!--header-->
<div class="contents">
-<div class="textblock"><code>#include <glog/logging.h></code><br/>
+<div class="textblock"><code>#include <string></code><br/>
+<code>#include <glog/logging.h></code><br/>
+<code>#include <<a class="el" href="error_8hpp_source.html">stout/error.hpp</a>></code><br/>
<code>#include <<a class="el" href="nothing_8hpp_source.html">stout/nothing.hpp</a>></code><br/>
<code>#include <<a class="el" href="strings_8hpp_source.html">stout/strings.hpp</a>></code><br/>
<code>#include <<a class="el" href="try_8hpp_source.html">stout/try.hpp</a>></code><br/>
<code>#include <<a class="el" href="3rdparty_2stout_2include_2stout_2windows_8hpp_source.html">stout/windows.hpp</a>></code><br/>
-<code>#include <<a class="el" href="realpath_8hpp_source.html">stout/os/realpath.hpp</a>></code><br/>
<code>#include <<a class="el" href="rm_8hpp_source.html">stout/os/rm.hpp</a>></code><br/>
<code>#include <<a class="el" href="stat_8hpp_source.html">stout/os/stat.hpp</a>></code><br/>
<code>#include <<a class="el" href="windows_2error_8hpp_source.html">stout/windows/error.hpp</a>></code><br/>
<code>#include <<a class="el" href="longpath_8hpp_source.html">stout/internal/windows/longpath.hpp</a>></code><br/>
-<code>#include <<a class="el" href="reparsepoint_8hpp_source.html">stout/internal/windows/reparsepoint.hpp</a>></code><br/>
</div>
<p><a href="windows_2rmdir_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">