ZenFS
    Preparing search index...

    Function get

    • Gets the value of an extended attribute.

      Parameters

      • this: V_Context
      • path: string

        Path to the file

      • name:
            | `system.${string}`
            | `user.${string}`
            | `trusted.${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:
            | `system.${string}`
            | `user.${string}`
            | `trusted.${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