ceed783d855df21d47cc3af010650378b25bc6de
[platform/framework/web/crosswalk-tizen.git] / src / common / file_utils.h
1 // Copyright 2015 Samsung Electronics Co, Ltd. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WRT_COMMON_FILE_UTILS_H_
6 #define WRT_COMMON_FILE_UTILS_H_
7
8 #include <string>
9
10 namespace wrt {
11 namespace utils {
12
13 bool Exists(const std::string& path);
14
15 std::string BaseName(const std::string& path);
16
17 std::string DirName(const std::string& path);
18
19 std::string SchemeName(const std::string& uri);
20
21
22 }  // namespace utils
23 }  // namespace wrt
24
25 #endif  // WRT_COMMON_FILE_UTILS_H_