fsevents

  • Version 2.3.2
  • Published
  • 156 kB
  • No dependencies
  • MIT license

Install

npm i fsevents
yarn add fsevents
pnpm add fsevents

Overview

Native Access to MacOS FSEvents

Index

Variables

Functions

Variables

variable constants

const constants: {
None: 0x00000000;
MustScanSubDirs: 0x00000001;
UserDropped: 0x00000002;
KernelDropped: 0x00000004;
EventIdsWrapped: 0x00000008;
HistoryDone: 0x00000010;
RootChanged: 0x00000020;
Mount: 0x00000040;
Unmount: 0x00000080;
ItemCreated: 0x00000100;
ItemRemoved: 0x00000200;
ItemInodeMetaMod: 0x00000400;
ItemRenamed: 0x00000800;
ItemModified: 0x00001000;
ItemFinderInfoMod: 0x00002000;
ItemChangeOwner: 0x00004000;
ItemXattrMod: 0x00008000;
ItemIsFile: 0x00010000;
ItemIsDir: 0x00020000;
ItemIsSymlink: 0x00040000;
ItemIsHardlink: 0x00100000;
ItemIsLastHardlink: 0x00200000;
OwnEvent: 0x00080000;
ItemCloned: 0x00400000;
};

    Functions

    function getInfo

    getInfo: (path: string, flags: number) => Info;

      function watch

      watch: {
      (path: string, handler: WatchHandler): () => Promise<void>;
      (path: string, since: number, handler: WatchHandler): () => Promise<void>;
      };

        Package Files (1)

        Dependencies (0)

        No dependencies.

        Dev Dependencies (1)

        Peer Dependencies (0)

        No peer dependencies.

        Badge

        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/fsevents.

        • Markdown
          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/fsevents)
        • HTML
          <a href="https://www.jsdocs.io/package/fsevents"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>