class

VirtualFs::Vfs

Inherits Reference / Object

Instance methods

clear_cache
Source
close
Source
delete(path : String) : Bool
Source
dir(path : String) : Dir
Source
dir_exists?(path : String) : Bool
Source
evict(path : String) : Nil
Source
evict(paths : Enumerable(String)) : Nil
Source
exists?(path : String) : Bool
Source
finalize
Source
find(pattern : String) : Array(String)
Source
glob(pattern : String) : Array(String)
Source
manifest
Source
mkdir(path : String) : Nil
Source
mmap(path : String, offset : Int64 = 0, length : Int32 | Nil = nil) : BlockStore::MappedRegion
Source
mount(path : String, mount_point : String = "/", *, priority : Int32 = 0, codec : Symbol = :none, key_provider : Crypto::KeyProvider | Nil = nil, cipher : String = "aes-256-gcm", case_insensitive : Bool = false, cache_max : Int32 = BlockStore::DEFAULT_CACHE_MAX) : MountId
Source
mount(container : Container, mount_point : String, *, priority : Int32 = 0, codec : Symbol = :none, key_provider : Crypto::KeyProvider | Nil = nil, cipher : String = "aes-256-gcm", case_insensitive : Bool = false, cache_max : Int32 = BlockStore::DEFAULT_CACHE_MAX) : MountId
Source
mount_point_of(id : MountId) : String | Nil
Source
mounts
Source
open(path : String) : File
Source
open(path : String, & : File -> ) : Nil
Source
open_async(path : String) : Channel(File | Exception)
Source
origin(path : String) : MountInfo | Nil
Source
prefetch(paths : Enumerable(String)) : Nil
Source
read(path : String) : String
Source
read?(path : String) : String | Nil
Source
size(path : String) : Int64
Source
stat(path : String) : Stat
Source
unmount(id : MountId) : Nil
Source
walk(dir : String) : Array(String)
Source
write(path : String, data : Bytes) : Nil
Source
write(path : String, data : String) : Nil
Source
write_dir=(path : String) : Nil
Source
write_dir=(container : Container) : Nil
Source