Role Playing Database (API Documentation) 3.1.3

Classes | Functions
vfs::rpg Namespace Reference
RPGSupport

## Classes
class | RPGDirent
| A Directory Entry Holds information about a file or directory. Only the bare minimum information is kept: name, mod time, list of files (directories only), mode (permissions), offset (files only), and size (files only). More...
class | RPGFileSystem
| The filesystem class. This is the class that implements a simple Virtual Filesystem for internal use by the Roleplaying Database program. It stores the working version of the RPG DB bundle which is normally stored as a ZIP file. It is a basic and simple file system, using a backing file as temporary file system storage. More...

## Functions
| fail (code)
| Mount (mkfile, local,...)

## Detailed Description

Roleplaying Database temp filesystem. This is an implementation of a simple Virtual Filesystem for internal use by the Roleplaying Database program. It stores the working version of the RPG DB bundle which is normally stored as a ZIP file. It is a basic and simple file system, using a backing file as temporary file system storage.

## Function Documentation

## ◆ fail()

vfs::rpg::fail | ( | code |  | ) |

Generate a posixerror

Parameters

  code | – the posix error to generate.

## ◆ Mount()

vfs::rpg::Mount | ( | mkfile | ,
|  | local | ,
|  |  | ...
| ) |  |

Public function to mount a RPGFileSystem file system

Parameters

  mkfile | Backing file
  local | Mount point
  ... | Options: (none)

Returns
  A RPGFileSystem object, bound to the mountpoint.