filesaver
filesaver Namespace Reference

Namespaces

 command_line
 Command-line application namespace.
 
 data
 
 node_addon
 Defines Node.js bindings to FileSaver.
 

Classes

class  FileEntry
 File entry abstraction. More...
 
class  FileSaver
 
class  FileSizePair
 Wrap filename and size. More...
 
class  LevelDbStorageService
 LevelDB implementation of the size cache. More...
 
class  SimpleTimer
 Simple timer class. More...
 
class  StorageService
 Interface for storage back-ends. More...
 
class  Worker
 
class  WorkerManager
 

Enumerations

enum  FileType {
  FileType::directory = 0, FileType::regular_file = 1, FileType::symbolic_link = 2, FileType::socket = 3,
  FileType::block_special = 4, FileType::character_special = 5, FileType::fifo_special = 6, FileType::unknown = 7
}
 File type enum. More...
 

Functions

std::string prettyPrintBytes (off_t bytes)
 

Enumeration Type Documentation

◆ FileType

enum filesaver::FileType
strong

File type enum.

Enumerator
directory 
regular_file 
symbolic_link 
socket 
block_special 
character_special 
fifo_special 
unknown 

Definition at line 21 of file FileEntry.h.

Function Documentation

◆ prettyPrintBytes()

std::string filesaver::prettyPrintBytes ( off_t  bytes)

Definition at line 10 of file FileSaver.cpp.