Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
archive
v0.5.0
Archive
Entry
Error
File
Status
Built with Crystal 1.9.2
2023-10-08 13:30:17 UTC
class
Archive::Entry
Archive::Entry
Reference
Object
Defined in:
archive.cr
Constructors
.new
(filename : String, size : UInt64, info : Crystal::System::FileInfo)
Instance Method Summary
#file
: File | Nil
#file=
(file : File | Nil)
#filename
: String
#info
: Crystal::System::FileInfo
#read
#size
: LibC::SizeT
Constructor Detail
def self.
new
(filename : String, size : UInt64, info : Crystal::System::FileInfo)
#
[
View source
]
Instance Method Detail
def
file
:
File
| Nil
#
[
View source
]
def
file=
(file :
File
| Nil)
#
[
View source
]
def
filename
: String
#
[
View source
]
def
info
: Crystal::System::FileInfo
#
[
View source
]
def
read
#
[
View source
]
def
size
: LibC::SizeT
#
[
View source
]