WatchedFile

ceramic._FileWatcher.WatchedFile (private class)

Internal data structure for tracking watched file state.

Instance Members

updateCallbacks: Array<Function>

List of callbacks to notify when the file changes.


mtime: Float

Last known modification time of the file. -1 indicates the file hasn't been checked yet.


content: String

Cached content of the file for comparison.


new(): Void

Metadata

Name Parameters
:allow ceramic.FileWatcher