Home
last modified time | relevance | path

Searched refs:StatWatcher (Results 1 – 12 of 12) sorted by relevance

/third_party/node/src/
Dnode_stat_watcher.cc45 void StatWatcher::Initialize(Environment* env, Local<Object> target) { in Initialize()
48 Local<FunctionTemplate> t = env->NewFunctionTemplate(StatWatcher::New); in Initialize()
50 StatWatcher::kInternalFieldCount); in Initialize()
53 env->SetProtoMethod(t, "start", StatWatcher::Start); in Initialize()
59 StatWatcher::StatWatcher(fs::BindingData* binding_data, in StatWatcher() function in node::StatWatcher
72 void StatWatcher::Callback(uv_fs_poll_t* handle, in Callback()
76 StatWatcher* wrap = ContainerOf(&StatWatcher::watcher_, handle); in Callback()
91 void StatWatcher::New(const FunctionCallbackInfo<Value>& args) { in New()
95 new StatWatcher(binding_data, args.This(), args[0]->IsTrue()); in New()
99 void StatWatcher::Start(const FunctionCallbackInfo<Value>& args) { in Start()
[all …]
Dnode_stat_watcher.h39 class StatWatcher : public HandleWrap {
44 StatWatcher(fs::BindingData* binding_data,
52 SET_MEMORY_INFO_NAME(StatWatcher)
53 SET_SELF_SIZE(StatWatcher)
DREADME.md857 void StatWatcher::Callback(uv_fs_poll_t* handle,
861 // Get the StatWatcher instance associated with this call from libuv,
862 // StatWatcher is a subclass of AsyncWrap.
863 StatWatcher* wrap = ContainerOf(&StatWatcher::watcher_, handle);
Dnode_file.cc2468 StatWatcher::Initialize(env, target); in Initialize()
/third_party/node/lib/internal/fs/
Dwatchers.js20 StatWatcher: _StatWatcher
67 function StatWatcher(bigint) { class
76 ObjectSetPrototypeOf(StatWatcher.prototype, EventEmitter.prototype);
77 ObjectSetPrototypeOf(StatWatcher, EventEmitter);
98 StatWatcher.prototype[kFSStatWatcherStart] = function(filename,
132 StatWatcher.prototype.start = () => {};
138 StatWatcher.prototype.stop = function() {
151 StatWatcher.prototype[kFSStatWatcherAddOrCleanRef] = function(operate) {
168 StatWatcher.prototype.ref = function() {
177 StatWatcher.prototype.unref = function() {
[all …]
/third_party/node/test/sequential/
Dtest-async-wrap-getasyncid.js153 const StatWatcher = binding.StatWatcher; constant
154 testInitialized(new StatWatcher(), 'StatWatcher');
/third_party/node/tools/doc/
Dtype-parser.mjs95 'fs.StatWatcher': 'fs.html#fs_class_fs_statwatcher',
/third_party/node/doc/api/
Dfs.md3685 * Returns: {fs.StatWatcher}
5413 ### Class: `fs.StatWatcher`
5422 A successful call to `fs.watchFile()` method will return a new {fs.StatWatcher}
5432 * Returns: {fs.StatWatcher}
5435 {fs.StatWatcher} is active. Calling `watcher.ref()` multiple times will have
5438 By default, all {fs.StatWatcher} objects are "ref'ed", making it normally
5449 * Returns: {fs.StatWatcher}
5451 When called, the active {fs.StatWatcher} object will not require the Node.js
5453 event loop running, the process may exit before the {fs.StatWatcher} object's
/third_party/node/lib/
Dfs.js1641 stat = new watchers.StatWatcher(options.bigint);
/third_party/node/doc/changelogs/
DCHANGELOG_V9.md1287 …github.com/nodejs/node/commit/d879b63077)] - **src**: make FSEventWrap/StatWatcher::Start more rob…
DCHANGELOG_V8.md758 …github.com/nodejs/node/commit/7fa97d4f09)] - **src**: make FSEventWrap/StatWatcher::Start more rob…
DCHANGELOG_V10.md3134 …ttps://github.com/nodejs/node/commit/740d9f1a0e)] - **lib,src**: make `StatWatcher` a `HandleWrap`…