Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Pylon::Scan::Metadata
Inherits
Struct
<
Value
<
Object
Constants
GRANULARITY_NS = 1000000000_i64
NANOSECONDS_PER_SECOND = 1000000000_i64
Constructors
from
(stat :
LibC::Stat
) :
Metadata
Source
new
(mode :
UInt32
, size :
UInt64
, mtime_ns :
Int64
, inode :
UInt64
)
Source
Class methods
of
(path :
String
) :
Metadata
|
Problem
|
Nil
Source
Instance methods
executable?
Source
freshly_modified?
(now_ns :
Int64
, granularity_ns :
Int64
) :
Bool
Source
inode
Source
kind
Source
mode
Source
mtime_ns
Source
reusable?
(other :
Metadata
) :
Bool
Source
same_content?
(other :
Metadata
) :
Bool
Source
size
Source
type_bits
Source
Nested types
Pylon::Scan::Metadata::Kind