Function chroot

  • Experimental

    Change the root path

    Parameters

    • this: V_Context
    • path: string
    • OptionalinPlace: false

      if true, this changes the root for the current context instead of creating a new one (if associated with a context).

    Returns BoundContext

  • Experimental

    Change the root path

    Type Parameters

    • T extends V_Context

    Parameters

    • this: T
    • path: string
    • inPlace: true

      if true, this changes the root for the current context instead of creating a new one (if associated with a context).

    Returns T