aboutsummaryrefslogtreecommitdiff
path: root/src/3rdParty/efsw/platform/posix/FileSystemImpl.hpp
blob: 0bfba7656f5eee3836eb1aacf97d469c547ee178 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef EFSW_FILESYSTEMIMPLPOSIX_HPP
#define EFSW_FILESYSTEMIMPLPOSIX_HPP

#include <efsw/FileInfo.hpp>
#include <efsw/base.hpp>

#if defined( EFSW_PLATFORM_POSIX )

namespace efsw { namespace Platform {

class FileSystem {
  public:
	static FileInfoMap filesInfoFromPath( const std::string& path );

	static char getOSSlash();

	static bool isDirectory( const std::string& path );

	static bool isRemoteFS( const std::string& directory );

	static bool changeWorkingDirectory( const std::string& path );

	static std::string getCurrentWorkingDirectory();
};

}} // namespace efsw::Platform

#endif

#endif