struct

Teeplate::FileData

Inherits Teeplate::AsDataEntry / Struct / Value / Object

Constructors

new(absolute_path : String, path : String, size : UInt64 | Nil = nil, perm : File::Permissions | Nil = nil, force : Bool = false)
Source

Instance methods

absolute_path
Source
forces?

:nodoc:

Source
path

Returns a path string relative to a base location.

Source
perm
Source
perm?

Returns permission.

If no specific permission, returns nil.

Source
size
Source
size?

Returns data size.

If the size can't be determined, returns nil.

Source
write_to(io : IO)

Writes this data stream to a specified IO object.

Source