1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Checkpointing some stuff. No way it'll build yet.

This commit is contained in:
Patrick LeBlanc
2019-01-18 10:19:14 -06:00
parent db10662629
commit d53471fc75
13 changed files with 462 additions and 1 deletions

View File

@ -0,0 +1,35 @@
# copy licensing stuff here
#ifndef SMFILESYSTEM_H_
#define SMFILESYSTEM_H_
#include <list>
#include <string>
#include <boost/utility.hpp>
#include "IDBFileSystem.h"
namespace idbdatafile
{
class SMFileSystem : public IDBFileSystem, boost::noncopyable
{
public:
SMFileSystem();
virtual ~SMFileSystem();
int mkdir(const char* pathname);
off64_t size(const char* path) const;
off64_t compressedSize(const char* path) const;
int remove(const char* pathname);
int rename(const char* oldpath, const char* newpath);
bool exists(const char* pathname) const;
int listDirectory(const char* pathname, std::list<std::string>& contents) const;
bool isDir(const char* pathname) const;
int copyFile(const char* srcPath, const char* destPath) const;
bool filesystemIsUp() const;
};
}
#endif