Miosa.Types.FileStat (Miosa v1.0.1)

Copy Markdown View Source

Detailed stat information for a single filesystem path.

Summary

Types

t()

@type t() :: %Miosa.Types.FileStat{
  created_at: String.t() | nil,
  is_symlink: boolean() | nil,
  mode: String.t() | nil,
  modified_at: String.t() | nil,
  name: String.t() | nil,
  path: String.t(),
  size: integer() | nil,
  type: :file | :directory | :symlink
}

Functions

from_map(map)

@spec from_map(map()) :: t()