class File

Overview

No PR yet

Included Modules

Defined in:

stdlib/file.cr

Instance Method Summary

Instance methods inherited from class IO::FileDescriptor

copy_range_from(src : self, length : Int) : Int64 copy_range_from, write_at(buffer, offset) : Int64 write_at

Instance methods inherited from module IO::Evented

evented_sendfile(limit : Int, errno_msg : String, &) : Int64 evented_sendfile

Instance methods inherited from class IO

skip(bytes_count : Int) : Int64 skip, skip_to_end : Int64 skip_to_end

Class methods inherited from class IO

copy(src, dst, limit : Int) : Int64
copy(src, dst) : Int64
copy

Instance Method Detail

def advise(advice : Advice) #

[View source]
def allocate(size, offset = 0, keep_size = false) #

[View source]
def punch_hole(size, offset = 0, keep_size = true) #

[View source]