Function mkdtempSync

  • Synchronous mkdtemp. Creates a unique temporary directory.

    Parameters

    • this: V_Context
    • prefix: string

      The directory prefix.

    • options: BufferEncodingOption

      The encoding (or an object including encoding).

    Returns Buffer

    The path to the created temporary directory, encoded as a string or buffer.

  • Synchronous mkdtemp. Creates a unique temporary directory.

    Parameters

    • this: V_Context
    • prefix: string

      The directory prefix.

    • Optionaloptions: EncodingOption

      The encoding (or an object including encoding).

    Returns string

    The path to the created temporary directory, encoded as a string or buffer.