Hierarchy

  • ProcessInfo

Constructors

  • Parameters

    • __namedParameters: {
          dir: undefined | string;
          exclude: undefined | RegExp;
      } = {}
      • dir: undefined | string
      • exclude: undefined | RegExp

    Returns ProcessInfo

Properties

dir: string
exclude: RegExp
externalIDs: Map<string, ProcessInfoNode> = ...
files: Map<string, Set<ProcessInfoNode>> = ...
pendingParent: Map<string, Set<ProcessInfoNode>> = ...
pendingRoot: Map<string, Set<ProcessInfoNode>> = ...
roots: Set<ProcessInfoNode> = ...
uuids: Map<string, ProcessInfoNode> = ...

Accessors

  • get execFileSync(): {
        (file): Buffer;
        (file, options): string;
        (file, options): Buffer;
        (file, options?): string | Buffer;
        (file, args): Buffer;
        (file, args, options): string;
        (file, args, options): Buffer;
        (file, args?, options?): string | Buffer;
    }
  • Returns {
        (file): Buffer;
        (file, options): string;
        (file, options): Buffer;
        (file, options?): string | Buffer;
        (file, args): Buffer;
        (file, args, options): string;
        (file, args, options): Buffer;
        (file, args?, options?): string | Buffer;
    }

      • (file): Buffer
      • Parameters

        • file: string

        Returns Buffer

      • (file, options): string
      • Parameters

        • file: string
        • options: WithExternalID<ExecFileSyncOptionsWithStringEncoding>

        Returns string

      • (file, options): Buffer
      • Parameters

        • file: string
        • options: WithExternalID<ExecFileSyncOptionsWithBufferEncoding>

        Returns Buffer

      • (file, options?): string | Buffer
      • Parameters

        Returns string | Buffer

      • (file, args): Buffer
      • Parameters

        • file: string
        • args: readonly string[]

        Returns Buffer

      • (file, args, options): string
      • Parameters

        • file: string
        • args: readonly string[]
        • options: WithExternalID<ExecFileSyncOptionsWithStringEncoding>

        Returns string

      • (file, args, options): Buffer
      • Parameters

        • file: string
        • args: readonly string[]
        • options: WithExternalID<ExecFileSyncOptionsWithBufferEncoding>

        Returns Buffer

      • (file, args?, options?): string | Buffer
      • Parameters

        • file: string
        • Optional args: readonly string[]
        • Optional options: WithExternalID<ExecFileSyncOptions>

        Returns string | Buffer

  • get execSync(): {
        (command): Buffer;
        (command, options): string;
        (command, options): Buffer;
        (command, options?): string | Buffer;
    }
  • Returns {
        (command): Buffer;
        (command, options): string;
        (command, options): Buffer;
        (command, options?): string | Buffer;
    }

      • (command): Buffer
      • Parameters

        • command: string

        Returns Buffer

      • (command, options): string
      • Parameters

        • command: string
        • options: WithExternalID<ExecSyncOptionsWithStringEncoding>

        Returns string

      • (command, options): Buffer
      • Parameters

        • command: string
        • options: WithExternalID<ExecSyncOptionsWithBufferEncoding>

        Returns Buffer

      • (command, options?): string | Buffer
      • Parameters

        Returns string | Buffer

  • get fork(): {
        (modulePath, options?): ChildProcess;
        (modulePath, args?, options?): ChildProcess;
    }
  • Returns {
        (modulePath, options?): ChildProcess;
        (modulePath, args?, options?): ChildProcess;
    }

      • (modulePath, options?): ChildProcess
      • Parameters

        • modulePath: string
        • Optional options: ForkOptions

        Returns ChildProcess

      • (modulePath, args?, options?): ChildProcess
      • Parameters

        • modulePath: string
        • Optional args: readonly string[]
        • Optional options: WithExternalID<ForkOptions>

        Returns ChildProcess

  • get spawn(): {
        (command, options?): ChildProcessWithoutNullStreams;
        (command, options): ChildProcessByStdio<Writable, Readable, Readable>;
        (command, options): ChildProcessByStdio<Writable, Readable, null>;
        (command, options): ChildProcessByStdio<Writable, null, Readable>;
        (command, options): ChildProcessByStdio<null, Readable, Readable>;
        (command, options): ChildProcessByStdio<Writable, null, null>;
        (command, options): ChildProcessByStdio<null, Readable, null>;
        (command, options): ChildProcessByStdio<null, null, Readable>;
        (command, options): ChildProcessByStdio<null, null, null>;
        (command, options): ChildProcess;
        (command, args?, options?): ChildProcessWithoutNullStreams;
        (command, args, options): ChildProcessByStdio<Writable, Readable, Readable>;
        (command, args, options): ChildProcessByStdio<Writable, Readable, null>;
        (command, args, options): ChildProcessByStdio<Writable, null, Readable>;
        (command, args, options): ChildProcessByStdio<null, Readable, Readable>;
        (command, args, options): ChildProcessByStdio<Writable, null, null>;
        (command, args, options): ChildProcessByStdio<null, Readable, null>;
        (command, args, options): ChildProcessByStdio<null, null, Readable>;
        (command, args, options): ChildProcessByStdio<null, null, null>;
        (command, args, options): ChildProcess;
    }
  • Returns {
        (command, options?): ChildProcessWithoutNullStreams;
        (command, options): ChildProcessByStdio<Writable, Readable, Readable>;
        (command, options): ChildProcessByStdio<Writable, Readable, null>;
        (command, options): ChildProcessByStdio<Writable, null, Readable>;
        (command, options): ChildProcessByStdio<null, Readable, Readable>;
        (command, options): ChildProcessByStdio<Writable, null, null>;
        (command, options): ChildProcessByStdio<null, Readable, null>;
        (command, options): ChildProcessByStdio<null, null, Readable>;
        (command, options): ChildProcessByStdio<null, null, null>;
        (command, options): ChildProcess;
        (command, args?, options?): ChildProcessWithoutNullStreams;
        (command, args, options): ChildProcessByStdio<Writable, Readable, Readable>;
        (command, args, options): ChildProcessByStdio<Writable, Readable, null>;
        (command, args, options): ChildProcessByStdio<Writable, null, Readable>;
        (command, args, options): ChildProcessByStdio<null, Readable, Readable>;
        (command, args, options): ChildProcessByStdio<Writable, null, null>;
        (command, args, options): ChildProcessByStdio<null, Readable, null>;
        (command, args, options): ChildProcessByStdio<null, null, Readable>;
        (command, args, options): ChildProcessByStdio<null, null, null>;
        (command, args, options): ChildProcess;
    }

      • (command, options?): ChildProcessWithoutNullStreams
      • Parameters

        • command: string
        • Optional options: WithExternalID<SpawnOptionsWithoutStdio>

        Returns ChildProcessWithoutNullStreams

      • (command, options): ChildProcessByStdio<Writable, Readable, Readable>
      • Parameters

        • command: string
        • options: WithExternalID<SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>>

        Returns ChildProcessByStdio<Writable, Readable, Readable>

      • (command, options): ChildProcessByStdio<Writable, Readable, null>
      • Parameters

        • command: string
        • options: WithExternalID<SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>>

        Returns ChildProcessByStdio<Writable, Readable, null>

      • (command, options): ChildProcessByStdio<Writable, null, Readable>
      • Parameters

        • command: string
        • options: WithExternalID<SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>>

        Returns ChildProcessByStdio<Writable, null, Readable>

      • (command, options): ChildProcessByStdio<null, Readable, Readable>
      • Parameters

        • command: string
        • options: WithExternalID<SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>>

        Returns ChildProcessByStdio<null, Readable, Readable>

      • (command, options): ChildProcessByStdio<Writable, null, null>
      • Parameters

        • command: string
        • options: WithExternalID<SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>>

        Returns ChildProcessByStdio<Writable, null, null>

      • (command, options): ChildProcessByStdio<null, Readable, null>
      • Parameters

        • command: string
        • options: WithExternalID<SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>>

        Returns ChildProcessByStdio<null, Readable, null>

      • (command, options): ChildProcessByStdio<null, null, Readable>
      • Parameters

        • command: string
        • options: WithExternalID<SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>>

        Returns ChildProcessByStdio<null, null, Readable>

      • (command, options): ChildProcessByStdio<null, null, null>
      • Parameters

        • command: string
        • options: WithExternalID<SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>>

        Returns ChildProcessByStdio<null, null, null>

      • (command, options): ChildProcess
      • Parameters

        Returns ChildProcess

      • (command, args?, options?): ChildProcessWithoutNullStreams
      • Parameters

        • command: string
        • Optional args: readonly string[]
        • Optional options: SpawnOptionsWithoutStdio

        Returns ChildProcessWithoutNullStreams

      • (command, args, options): ChildProcessByStdio<Writable, Readable, Readable>
      • Parameters

        • command: string
        • args: readonly string[]
        • options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>

        Returns ChildProcessByStdio<Writable, Readable, Readable>

      • (command, args, options): ChildProcessByStdio<Writable, Readable, null>
      • Parameters

        • command: string
        • args: readonly string[]
        • options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>

        Returns ChildProcessByStdio<Writable, Readable, null>

      • (command, args, options): ChildProcessByStdio<Writable, null, Readable>
      • Parameters

        • command: string
        • args: readonly string[]
        • options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>

        Returns ChildProcessByStdio<Writable, null, Readable>

      • (command, args, options): ChildProcessByStdio<null, Readable, Readable>
      • Parameters

        • command: string
        • args: readonly string[]
        • options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>

        Returns ChildProcessByStdio<null, Readable, Readable>

      • (command, args, options): ChildProcessByStdio<Writable, null, null>
      • Parameters

        • command: string
        • args: readonly string[]
        • options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>

        Returns ChildProcessByStdio<Writable, null, null>

      • (command, args, options): ChildProcessByStdio<null, Readable, null>
      • Parameters

        • command: string
        • args: readonly string[]
        • options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>

        Returns ChildProcessByStdio<null, Readable, null>

      • (command, args, options): ChildProcessByStdio<null, null, Readable>
      • Parameters

        • command: string
        • args: readonly string[]
        • options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>

        Returns ChildProcessByStdio<null, null, Readable>

      • (command, args, options): ChildProcessByStdio<null, null, null>
      • Parameters

        • command: string
        • args: readonly string[]
        • options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>

        Returns ChildProcessByStdio<null, null, null>

      • (command, args, options): ChildProcess
      • Parameters

        • command: string
        • args: readonly string[]
        • options: SpawnOptions

        Returns ChildProcess

  • get spawnSync(): {
        (command): SpawnSyncReturns<Buffer>;
        (command, options): SpawnSyncReturns<string>;
        (command, options): SpawnSyncReturns<Buffer>;
        (command, options?): SpawnSyncReturns<string | Buffer>;
        (command, args): SpawnSyncReturns<Buffer>;
        (command, args, options): SpawnSyncReturns<string>;
        (command, args, options): SpawnSyncReturns<Buffer>;
        (command, args?, options?): SpawnSyncReturns<string | Buffer>;
    }
  • Returns {
        (command): SpawnSyncReturns<Buffer>;
        (command, options): SpawnSyncReturns<string>;
        (command, options): SpawnSyncReturns<Buffer>;
        (command, options?): SpawnSyncReturns<string | Buffer>;
        (command, args): SpawnSyncReturns<Buffer>;
        (command, args, options): SpawnSyncReturns<string>;
        (command, args, options): SpawnSyncReturns<Buffer>;
        (command, args?, options?): SpawnSyncReturns<string | Buffer>;
    }

      • (command): SpawnSyncReturns<Buffer>
      • Parameters

        • command: string

        Returns SpawnSyncReturns<Buffer>

      • (command, options): SpawnSyncReturns<string>
      • Parameters

        • command: string
        • options: WithExternalID<SpawnSyncOptionsWithStringEncoding>

        Returns SpawnSyncReturns<string>

      • (command, options): SpawnSyncReturns<Buffer>
      • Parameters

        • command: string
        • options: WithExternalID<SpawnSyncOptionsWithBufferEncoding>

        Returns SpawnSyncReturns<Buffer>

      • (command, options?): SpawnSyncReturns<string | Buffer>
      • Parameters

        Returns SpawnSyncReturns<string | Buffer>

      • (command, args): SpawnSyncReturns<Buffer>
      • Parameters

        • command: string
        • args: readonly string[]

        Returns SpawnSyncReturns<Buffer>

      • (command, args, options): SpawnSyncReturns<string>
      • Parameters

        • command: string
        • args: readonly string[]
        • options: WithExternalID<SpawnSyncOptionsWithStringEncoding>

        Returns SpawnSyncReturns<string>

      • (command, args, options): SpawnSyncReturns<Buffer>
      • Parameters

        • command: string
        • args: readonly string[]
        • options: WithExternalID<SpawnSyncOptionsWithBufferEncoding>

        Returns SpawnSyncReturns<Buffer>

      • (command, args?, options?): SpawnSyncReturns<string | Buffer>
      • Parameters

        • command: string
        • Optional args: readonly string[]
        • Optional options: WithExternalID<SpawnSyncOptions>

        Returns SpawnSyncReturns<string | Buffer>

Methods

  • Parameters

    Returns boolean

  • Parameters

    Returns Promise<void>[]

  • Get a subset of this.externalIDs where one or more of the files have changed since the date on the node.

    Parameters

    • filter: ((p, node) => boolean) = ...
        • (p, node): boolean
        • Parameters

          Returns boolean

    Returns Promise<Map<string, ProcessInfoNode>>

  • Returns Promise<void>

Generated using TypeDoc