@tapjs/processinfo
    Preparing search index...

    Class ProcessInfo

    Index

    Constructors

    • Parameters

      • __namedParameters: { dir?: string; exclude?: 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: string): Buffer;
          (
              file: string,
              options: WithExternalID<ExecFileSyncOptionsWithStringEncoding>,
          ): string;
          (
              file: string,
              options: WithExternalID<ExecFileSyncOptionsWithBufferEncoding>,
          ): Buffer;
          (
              file: string,
              options?: WithExternalID<ExecFileSyncOptions>,
          ): string | Buffer<ArrayBufferLike>;
          (file: string, args: readonly string[]): Buffer;
          (
              file: string,
              args: readonly string[],
              options: WithExternalID<ExecFileSyncOptionsWithStringEncoding>,
          ): string;
          (
              file: string,
              args: readonly string[],
              options: WithExternalID<ExecFileSyncOptionsWithBufferEncoding>,
          ): Buffer;
          (
              file: string,
              args?: readonly string[],
              options?: WithExternalID<ExecFileSyncOptions>,
          ): string | Buffer<ArrayBufferLike>;
      }

      Returns {
          (file: string): Buffer;
          (
              file: string,
              options: WithExternalID<ExecFileSyncOptionsWithStringEncoding>,
          ): string;
          (
              file: string,
              options: WithExternalID<ExecFileSyncOptionsWithBufferEncoding>,
          ): Buffer;
          (
              file: string,
              options?: WithExternalID<ExecFileSyncOptions>,
          ): string | Buffer<ArrayBufferLike>;
          (file: string, args: readonly string[]): Buffer;
          (
              file: string,
              args: readonly string[],
              options: WithExternalID<ExecFileSyncOptionsWithStringEncoding>,
          ): string;
          (
              file: string,
              args: readonly string[],
              options: WithExternalID<ExecFileSyncOptionsWithBufferEncoding>,
          ): Buffer;
          (
              file: string,
              args?: readonly string[],
              options?: WithExternalID<ExecFileSyncOptions>,
          ): string | Buffer<ArrayBufferLike>;
      }

    • get execSync(): {
          (command: string): Buffer;
          (
              command: string,
              options: WithExternalID<ExecSyncOptionsWithStringEncoding>,
          ): string;
          (
              command: string,
              options: WithExternalID<ExecSyncOptionsWithBufferEncoding>,
          ): Buffer;
          (
              command: string,
              options?: WithExternalID<ExecSyncOptions>,
          ): string | Buffer<ArrayBufferLike>;
      }

      Returns {
          (command: string): Buffer;
          (
              command: string,
              options: WithExternalID<ExecSyncOptionsWithStringEncoding>,
          ): string;
          (
              command: string,
              options: WithExternalID<ExecSyncOptionsWithBufferEncoding>,
          ): Buffer;
          (
              command: string,
              options?: WithExternalID<ExecSyncOptions>,
          ): string | Buffer<ArrayBufferLike>;
      }

    • get fork(): {
          (modulePath: string, options?: ForkOptions): ChildProcess;
          (
              modulePath: string,
              args?: readonly string[],
              options?: WithExternalID<ForkOptions>,
          ): ChildProcess;
      }

      Returns {
          (modulePath: string, options?: ForkOptions): ChildProcess;
          (
              modulePath: string,
              args?: readonly string[],
              options?: WithExternalID<ForkOptions>,
          ): ChildProcess;
      }

    • get spawn(): {
          (
              command: string,
              options?: WithExternalID<SpawnOptionsWithoutStdio>,
          ): ChildProcessWithoutNullStreams;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>,
              >,
          ): ChildProcessByStdio<Writable, Readable, Readable>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>,
              >,
          ): ChildProcessByStdio<Writable, Readable, null>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>,
              >,
          ): ChildProcessByStdio<Writable, null, Readable>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>,
              >,
          ): ChildProcessByStdio<null, Readable, Readable>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>,
              >,
          ): ChildProcessByStdio<Writable, null, null>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>,
              >,
          ): ChildProcessByStdio<null, Readable, null>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>,
              >,
          ): ChildProcessByStdio<null, null, Readable>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>,
              >,
          ): ChildProcessByStdio<null, null, null>;
          (command: string, options: WithExternalID<SpawnOptions>): ChildProcess;
          (
              command: string,
              args?: readonly string[],
              options?: SpawnOptionsWithoutStdio,
          ): ChildProcessWithoutNullStreams;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>,
          ): ChildProcessByStdio<Writable, Readable, Readable>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>,
          ): ChildProcessByStdio<Writable, Readable, null>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>,
          ): ChildProcessByStdio<Writable, null, Readable>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>,
          ): ChildProcessByStdio<null, Readable, Readable>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>,
          ): ChildProcessByStdio<Writable, null, null>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>,
          ): ChildProcessByStdio<null, Readable, null>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>,
          ): ChildProcessByStdio<null, null, Readable>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>,
          ): ChildProcessByStdio<null, null, null>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptions,
          ): ChildProcess;
      }

      Returns {
          (
              command: string,
              options?: WithExternalID<SpawnOptionsWithoutStdio>,
          ): ChildProcessWithoutNullStreams;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>,
              >,
          ): ChildProcessByStdio<Writable, Readable, Readable>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>,
              >,
          ): ChildProcessByStdio<Writable, Readable, null>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>,
              >,
          ): ChildProcessByStdio<Writable, null, Readable>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>,
              >,
          ): ChildProcessByStdio<null, Readable, Readable>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>,
              >,
          ): ChildProcessByStdio<Writable, null, null>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>,
              >,
          ): ChildProcessByStdio<null, Readable, null>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>,
              >,
          ): ChildProcessByStdio<null, null, Readable>;
          (
              command: string,
              options: WithExternalID<
                  SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>,
              >,
          ): ChildProcessByStdio<null, null, null>;
          (command: string, options: WithExternalID<SpawnOptions>): ChildProcess;
          (
              command: string,
              args?: readonly string[],
              options?: SpawnOptionsWithoutStdio,
          ): ChildProcessWithoutNullStreams;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>,
          ): ChildProcessByStdio<Writable, Readable, Readable>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>,
          ): ChildProcessByStdio<Writable, Readable, null>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>,
          ): ChildProcessByStdio<Writable, null, Readable>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioPipe>,
          ): ChildProcessByStdio<null, Readable, Readable>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioNull>,
          ): ChildProcessByStdio<Writable, null, null>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioNull, StdioPipe, StdioNull>,
          ): ChildProcessByStdio<null, Readable, null>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioPipe>,
          ): ChildProcessByStdio<null, null, Readable>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptionsWithStdioTuple<StdioNull, StdioNull, StdioNull>,
          ): ChildProcessByStdio<null, null, null>;
          (
              command: string,
              args: readonly string[],
              options: SpawnOptions,
          ): ChildProcess;
      }

    • get spawnSync(): {
          (command: string): SpawnSyncReturns<Buffer<ArrayBufferLike>>;
          (
              command: string,
              options: WithExternalID<SpawnSyncOptionsWithStringEncoding>,
          ): SpawnSyncReturns<string>;
          (
              command: string,
              options: WithExternalID<SpawnSyncOptionsWithBufferEncoding>,
          ): SpawnSyncReturns<Buffer<ArrayBufferLike>>;
          (
              command: string,
              options?: WithExternalID<SpawnSyncOptions>,
          ): SpawnSyncReturns<string | Buffer<ArrayBufferLike>>;
          (
              command: string,
              args: readonly string[],
          ): SpawnSyncReturns<Buffer<ArrayBufferLike>>;
          (
              command: string,
              args: readonly string[],
              options: WithExternalID<SpawnSyncOptionsWithStringEncoding>,
          ): SpawnSyncReturns<string>;
          (
              command: string,
              args: readonly string[],
              options: WithExternalID<SpawnSyncOptionsWithBufferEncoding>,
          ): SpawnSyncReturns<Buffer<ArrayBufferLike>>;
          (
              command: string,
              args?: readonly string[],
              options?: WithExternalID<SpawnSyncOptions>,
          ): SpawnSyncReturns<string | Buffer<ArrayBufferLike>>;
      }

      Returns {
          (command: string): SpawnSyncReturns<Buffer<ArrayBufferLike>>;
          (
              command: string,
              options: WithExternalID<SpawnSyncOptionsWithStringEncoding>,
          ): SpawnSyncReturns<string>;
          (
              command: string,
              options: WithExternalID<SpawnSyncOptionsWithBufferEncoding>,
          ): SpawnSyncReturns<Buffer<ArrayBufferLike>>;
          (
              command: string,
              options?: WithExternalID<SpawnSyncOptions>,
          ): SpawnSyncReturns<string | Buffer<ArrayBufferLike>>;
          (
              command: string,
              args: readonly string[],
          ): SpawnSyncReturns<Buffer<ArrayBufferLike>>;
          (
              command: string,
              args: readonly string[],
              options: WithExternalID<SpawnSyncOptionsWithStringEncoding>,
          ): SpawnSyncReturns<string>;
          (
              command: string,
              args: readonly string[],
              options: WithExternalID<SpawnSyncOptionsWithBufferEncoding>,
          ): SpawnSyncReturns<Buffer<ArrayBufferLike>>;
          (
              command: string,
              args?: readonly string[],
              options?: WithExternalID<SpawnSyncOptions>,
          ): SpawnSyncReturns<string | Buffer<ArrayBufferLike>>;
      }

    Methods

    • 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

      Returns Promise<Map<string, ProcessInfoNode>>

    • Returns Promise<void>

    • Returns Promise<void>

    • Parameters

      • __namedParameters: { dir?: string; exclude?: RegExp }

      Returns Promise<ProcessInfo>

    • Parameters

      • __namedParameters: { dir?: string; exclude?: RegExp }

      Returns ProcessInfo