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

    Class Metadata

    Metadata carries all metadata associated with a path.

    Index

    Constructors

    Accessors

    • get cacheControl(): null | string

      Cache-Control of this object.

      Returns null | string

    • get contentDisposition(): null | string

      Content-Disposition of this object

      Returns null | string

    • get contentEncoding(): null | string

      Content Encoding of this object

      Returns null | string

    • get contentLength(): null | bigint

      Content Length of this object

      Returns null | bigint

    • get contentMd5(): null | string

      Content MD5 of this object.

      Returns null | string

    • get contentType(): null | string

      Content Type of this object.

      Returns null | string

    • get etag(): null | string

      ETag of this object.

      Returns null | string

    • get lastModified(): null | string

      Last Modified of this object.

      We will output this time in RFC3339 format like 1996-12-19T16:39:57+08:00.

      Returns null | string

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

      User Metadata of this object.

      Returns null | Record<string, string>

    • get version(): null | string

      Retrieves the version of the file, if available.

      Returns null | string

    Methods

    • This function returns true if the file represented by this metadata has been marked for deletion or has been permanently deleted.

      Returns boolean

    • Returns true if the <op.stat> object describes a file system directory.

      Returns boolean

    • Returns true if the <op.stat> object describes a regular file.

      Returns boolean