• Gets the value of an extended attribute.

    Parameters

    • this: V_Context
    • path: string

      Path to the file

    • name:
          | `user.${string}`
          | `trusted.${string}`
          | `system.${string}`
          | `security.${string}`

      Name of the attribute to get

    • Optionalopt: Options & (BufferEncodingOption | { encoding?: null | undefined; })

      Options for the operation

    Returns Promise<Uint8Array<ArrayBufferLike>>

    A buffer containing the attribute value when encoding is 'buffer' or undefined, or a string when a string encoding is specified

  • Gets the value of an extended attribute.

    Parameters

    • this: V_Context
    • path: string

      Path to the file

    • name:
          | `user.${string}`
          | `trusted.${string}`
          | `system.${string}`
          | `security.${string}`

      Name of the attribute to get

    • opt: Options & ObjectEncodingOptions

      Options for the operation

    Returns Promise<string>

    A buffer containing the attribute value when encoding is 'buffer' or undefined, or a string when a string encoding is specified