VFS class of PicoRuby

Type aliases

driver_t

FAT

volume_t

{mountpoint: String, driver: driver_t}

file_t

FAT::File

dir_t

FAT::Dir

Singleton methods

chdir

VFS.chdir(String dir) -> 0

chmod

VFS.chmod(Integer mode, String path) -> 0

directory?

VFS.directory?(String path) -> untyped

exist?

VFS.exist?(String path) -> bool

mkdir

VFS.mkdir(String path, ?Integer mode) -> 0

mount

VFS.mount(driver_t driver, String mountpoint) -> void

pwd

VFS.pwd-> String

rename

VFS.rename(String from, String to) -> 0

sanitize

VFS.sanitize(String path) -> String

sanitize_and_split

VFS.sanitize_and_split(String path) -> [volume_t, String]

split

VFS.split(String sanitized_path) -> [volume_t, String]
VFS.unlink(String path) -> 0

unmount

VFS.unmount(driver_t driver, ?bool force) -> void

volume_index

VFS.volume_index(untyped mountpoint) -> Integer?
Tags: class