mirror of
https://github.com/atom/atom.git
synced 2026-02-18 10:31:54 -05:00
Private diagnostic method to dump the active watchers
This commit is contained in:
@@ -431,6 +431,14 @@ class NativeWatcherRegistry {
|
||||
watcher.attachToNative(native, nativePath)
|
||||
})
|
||||
}
|
||||
|
||||
// Private: Generate a visual representation of the currently active watchers managed by this
|
||||
// registry.
|
||||
//
|
||||
// Returns a {String} showing the tree structure.
|
||||
print() {
|
||||
return this.tree.print()
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = {NativeWatcherRegistry}
|
||||
|
||||
Reference in New Issue
Block a user