Davy.Resource (davy v0.3.1)

Copy Markdown View Source

Represents a WebDAV resource returned by the backend.

The backend populates standard metadata fields that the WebDAV server needs for property responses and conditional request handling. The backend_data field carries opaque data passed back to the backend on subsequent calls.

Summary

Types

t()

@type t() :: %Davy.Resource{
  backend_data: term(),
  content_length: non_neg_integer() | nil,
  content_type: String.t() | nil,
  creation_date: DateTime.t() | nil,
  display_name: String.t() | nil,
  etag: String.t() | nil,
  last_modified: DateTime.t() | nil,
  path: [String.t()],
  type: :file | :collection
}