SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
FileSystem.cc File Reference
#include "swcdb/fs/Local/FileSystem.h"
#include <filesystem>
#include <fcntl.h>
#include <dirent.h>
+ Include dependency graph for FileSystem.cc:

Go to the source code of this file.

Namespaces

 SWC
 The SWC-DB C++ namespace 'SWC'.
 
 SWC::FS
 The SWC-DB File-System C++ namespace 'SWC::FS'.
 

Macros

#define SWC_MKDIR(path, perms)   ::mkdir(path, perms)
 
#define SWC_FSYNC(fd)   ::fsync(fd)
 
#define SWC_PREAD(fd, ptr, nleft, offset)   ::pread(fd, ptr, nleft, offset)
 

Functions

Configurables * SWC::FS::apply_local (Configurables *config)
 
SWC::FS::FileSystemfs_make_new_local (SWC::FS::Configurables *config)
 

Macro Definition Documentation

◆ SWC_FSYNC

#define SWC_FSYNC (   fd)    ::fsync(fd)

Definition at line 44 of file FileSystem.cc.

◆ SWC_MKDIR

#define SWC_MKDIR (   path,
  perms 
)    ::mkdir(path, perms)

Definition at line 43 of file FileSystem.cc.

◆ SWC_PREAD

#define SWC_PREAD (   fd,
  ptr,
  nleft,
  offset 
)    ::pread(fd, ptr, nleft, offset)

Definition at line 45 of file FileSystem.cc.

Function Documentation

◆ fs_make_new_local()

SWC::FS::FileSystem* fs_make_new_local ( SWC::FS::Configurables config)

Definition at line 696 of file FileSystem.cc.