Apache OpenDAL™ - v0.49.13
    Preparing search index...

    Class Metadata

    Metadata carries all metadata associated with a path.

    Index

    Constructors

    Accessors

    • get cacheControl(): null | string

      Return this entry's Cache-Control value.

      Returns null | string

    • get contentDisposition(): null | string

      Return this entry's Content-Disposition value.

      Returns null | string

    • get contentEncoding(): null | string

      Return this entry's Content-Encoding value.

      Returns null | string

    • get contentLanguage(): null | string

      Return this entry's Content-Language value, if available.

      Returns null | string

    • get contentLength(): null | bigint

      Return the full content length of this entry.

      Returns null | bigint

    • get contentMd5(): null | string

      Return this entry's Content-MD5 value.

      Returns null | string

    • get contentType(): null | string

      Return this entry's Content-Type value.

      Returns null | string

    • get etag(): null | string

      Return this entry's service-provided ETag as-is.

      Returns null | string

    • get lastModified(): null | string

      Return this entry's Last-Modified timestamp.

      The time is formatted as RFC 3339, like 1996-12-19T16:39:57Z.

      Returns null | string

    • get userMetadata(): null | Record<string, string>

      Return a copy of this entry's user metadata as a plain object, or null when absent.

      Each read returns a new object, so mutating it does not update this Metadata.

      Returns null | Record<string, string>

    • get version(): null | string

      Return this entry's service-specific version identifier.

      Returns null | string

    Methods

    • Return whether this metadata describes the current object version.

      Returns null when the service does not report it.

      Returns null | boolean

    • Return whether this metadata describes a deleted object or delete marker.

      Returns boolean

    • Return true if this metadata is for a directory.

      Returns boolean

    • Return true if this metadata is for a file.

      Returns boolean