Class Ole::Storage::FileClass
In: lib/ole/storage/file_system.rb
Parent: Object

Methods

delete   directory?   exist?   exists?   expand_path   file?   new   new   open   read   rename   size   size?   stat   unlink  

Classes and Modules

Class Ole::Storage::FileClass::Stat

Public Class methods

Public Instance methods

delete(*paths)

Alias for unlink

exist?(path)

Alias for exists?

explicit wrapper instead of alias to inhibit block

most of the work this function does is moving the dirent between 2 parents. the actual name changing is quite simple. File.rename can move a file into another folder, which is why i‘ve done it too, though i think its not always possible…

FIXME File.rename can be used for directories too.…

[Validate]