class

Creestal::Core::FileEntry

Inherits Reference < Object

Constructors

new(type : String, full_path : String, relative_path : String)
Source

Instance methods

changed?

True if the file on disk differs from the baseline set at construction or the last reload!.

Source
content

Pure read — never touches @sha256.

Source
full_path
Source
relative_path
Source
reload!

Re-baselines the stored hash to the current file contents. Call this after a change has been detected and acted on so that subsequent changed? calls measure from the new baseline.

Source
sha256
Source
type
Source