From commits-return-20354-archive-asf-public=cust-asf.ponee.io@mesos.apache.org Wed Feb 7 02:17:44 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id D764E180657 for ; Wed, 7 Feb 2018 02:17:44 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C6690160C5B; Wed, 7 Feb 2018 01:17:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 97F3B160C46 for ; Wed, 7 Feb 2018 02:17:43 +0100 (CET) Received: (qmail 21757 invoked by uid 500); 7 Feb 2018 01:17:42 -0000 Mailing-List: contact commits-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list commits@mesos.apache.org Received: (qmail 21748 invoked by uid 99); 7 Feb 2018 01:17:42 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2018 01:17:42 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 1444AE9640; Wed, 7 Feb 2018 01:17:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: git-site-role@apache.org To: commits@mesos.apache.org Date: Wed, 07 Feb 2018 01:17:43 -0000 Message-Id: <52db484514ce40cdbf6af761e0638f43@git.apache.org> In-Reply-To: <6ba52ced1f8e4f61ad0ddbef21b705b4@git.apache.org> References: <6ba52ced1f8e4f61ad0ddbef21b705b4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] mesos-site git commit: Updated the website built from mesos SHA: ed75278. Updated the website built from mesos SHA: ed75278. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/46873494 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/46873494 Diff: http://git-wip-us.apache.org/repos/asf/mesos-site/diff/46873494 Branch: refs/heads/asf-site Commit: 4687349400070f33ddb69e36b6c5415e63771a01 Parents: 275c1de Author: jenkins Authored: Wed Feb 7 01:17:39 2018 +0000 Committer: jenkins Committed: Wed Feb 7 01:17:39 2018 +0000 ---------------------------------------------------------------------- ...include_2stout_2windows_2fs_8hpp_source.html | 82 +- content/blog/feed.xml | 2 +- .../index.html | 2 +- content/sitemap.xml | 9030 +++++++++--------- 4 files changed, 4557 insertions(+), 4559 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos-site/blob/46873494/content/api/latest/c++/3rdparty_2stout_2include_2stout_2windows_2fs_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2windows_2fs_8hpp_source.html b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2windows_2fs_8hpp_source.html index 561bba4..b0be09f 100644 --- a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2windows_2fs_8hpp_source.html +++ b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2windows_2fs_8hpp_source.html @@ -146,48 +146,44 @@
92 // `/root/dir/subdir/*.txt` or `/root/dir/subdir/file?.txt`.
93 inline Try<std::list<std::string>> list(const std::string& pattern)
94 {
-
95  std::list<std::string> found_files;
-
96  WIN32_FIND_DATAW found;
-
97  const SharedHandle search_handle(
-
98  ::FindFirstFileW(wide_stringify(pattern).data(), &found),
-
99  ::FindClose);
-
100 
-
101  if (search_handle.get() == INVALID_HANDLE_VALUE) {
-
102  // For compliance with the POSIX implementation (which uses `::glob`),
-
103  // return an empty list instead of an error when the path does not exist.
-
104  int error = ::GetLastError();
-
105  if (error == ERROR_FILE_NOT_FOUND || error == ERROR_PATH_NOT_FOUND) {
-
106  return found_files;
-
107  }
-
108 
-
109  return WindowsError(
-
110  "'fs::list' failed when searching for files with pattern '" +
-
111  pattern + "'");
-
112  }
-
113 
-
114  do {
-
115  const std::wstring current_file(found.cFileName);
-
116 
-
117  // Ignore `.` and `..` entries.
-
118  if (current_file.compare(L".") != 0 && current_file.compare(L"..") != 0) {
-
119  found_files.push_back(stringify(current_file));
-
120  }
-
121  } while (::FindNextFileW(search_handle.get(), &found));
-
122 
-
123  const DWORD error = ::GetLastError();
-
124  if (error != ERROR_NO_MORE_FILES) {
-
125  return WindowsError(
-
126  error,
-
127  "'fs::list': 'FindNextFile' failed when searching for files with "
-
128  "'pattern '" + pattern + "'");
-
129  }
-
130 
-
131  return found_files;
-
132 }
-
133 
-
134 } // namespace fs {
-
135 
-
136 #endif // __STOUT_WINDOWS_FS_HPP__
+
95  const std::string dirname(Path(pattern).dirname());
+
96  std::list<std::string> found_files;
+
97  WIN32_FIND_DATAW found;
+
98  const SharedHandle search_handle(
+
99  ::FindFirstFileW(wide_stringify(pattern).data(), &found),
+
100  ::FindClose);
+
101 
+
102  if (search_handle.get() == INVALID_HANDLE_VALUE) {
+
103  // For compliance with the POSIX implementation (which uses `::glob`),
+
104  // return an empty list instead of an error when the path does not exist.
+
105  const DWORD error = ::GetLastError();
+
106  if (error == ERROR_FILE_NOT_FOUND || error == ERROR_PATH_NOT_FOUND) {
+
107  return found_files;
+
108  }
+
109 
+
110  return WindowsError(error, "FindFirstFile failed");
+
111  }
+
112 
+
113  do {
+
114  const std::wstring current_file(found.cFileName);
+
115 
+
116  // Ignore `.` and `..` entries.
+
117  if (current_file.compare(L".") != 0 && current_file.compare(L"..") != 0) {
+
118  found_files.push_back(path::join(dirname, stringify(current_file)));
+
119  }
+
120  } while (::FindNextFileW(search_handle.get(), &found));
+
121 
+
122  const DWORD error = ::GetLastError();
+
123  if (error != ERROR_NO_MORE_FILES) {
+
124  return WindowsError(error, "FindNextFile failed");
+
125  }
+
126 
+
127  return found_files;
+
128 }
+
129 
+
130 } // namespace fs {
+
131 
+
132 #endif // __STOUT_WINDOWS_FS_HPP__
Definition: errorbase.hpp:35
Definition: windows.hpp:78
@@ -196,12 +192,14 @@
static Result< T > error(const std::string &message)
Definition: result.hpp:53
Try< Nothing > symlink(const std::string &original, const std::string &link)
Definition: fs.hpp:54
Definition: error.hpp:106
+
std::string join(const std::string &path1, const std::string &path2, const char _separator=os::PATH_SEPARATOR)
Definition: path.hpp:56
Definition: result.hpp:40
Try< Bytes > size(const std::string &path="/")
Definition: fs.hpp:32
Try< std::list< std::string > > list(const std::string &pattern)
Definition: fs.hpp:75
+
Represents a POSIX or Windows file system path and offers common path manipulations.
Definition: path.hpp:145
Try< double > usage(const std::string &path="/")
Definition: fs.hpp:44
const T & get() const
Definition: result.hpp:115
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/46873494/content/blog/feed.xml ---------------------------------------------------------------------- diff --git a/content/blog/feed.xml b/content/blog/feed.xml index cbf606d..4b40cec 100644 --- a/content/blog/feed.xml +++ b/content/blog/feed.xml @@ -168,7 +168,7 @@ To learn more about CSI work in Mesos, you can dig into the design document < </ul> -<p>If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing <a href="&#x6d;&#97;&#x69;&#108;&#116;&#111;&#x3a;&#x64;&#101;&#118;&#64;&#x61;&#112;&#x61;&#99;&#x68;&#x65;&#x2e;&#109;&#101;&#115;&#x6f;&#x73;&#46;&#111;&#114;&#103;">&#x64;&#101;&#x76;&#64;&#x61;&#112;&#x61;&#x63;&#104;&#x65;&#46;&#109;&#101;&#115;&#111;&#x73;&#46;&#x6f;&#114;&#x67;</a>.</p> +<p>If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing <a href="&#109;&#x61;&#x69;&#x6c;&#x74;&#111;&#x3a;&#x64;&#x65;&#118;&#x40;&#x61;&#112;&#97;&#x63;&#x68;&#101;&#46;&#x6d;&#101;&#115;&#111;&#115;&#46;&#111;&#x72;&#103;">&#100;&#101;&#x76;&#x40;&#97;&#x70;&#97;&#x63;&#104;&#x65;&#x2e;&#x6d;&#101;&#x73;&#111;&#x73;&#x2e;&#x6f;&#x72;&#103;</a>.</p> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/46873494/content/blog/performance-working-group-progress-report/index.html ---------------------------------------------------------------------- diff --git a/content/blog/performance-working-group-progress-report/index.html b/content/blog/performance-working-group-progress-report/index.html index 2ecaf54..1518e1a 100644 --- a/content/blog/performance-working-group-progress-report/index.html +++ b/content/blog/performance-working-group-progress-report/index.html @@ -248,7 +248,7 @@ -

If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing dev@apache.mesos.org.

+

If you are a user and would like to suggest some areas for performance improvement, please let us know by emailing dev@apache.mesos.org.