Xgit v0.3.0 Xgit.Core.FileContentSource View Source
Implements Xgit.Core.ContentSource
to read content from a file on disk.
Link to this section Summary
Functions
Creates an Xgit.Core.FileContentSource
for a file on disk.
Link to this section Types
Link to this type
t()
View Sourcet() :: %Xgit.Core.FileContentSource{ path: Path.t(), size: non_neg_integer() | :file_not_found }
Describes a file on disk which will be used for reading content.
Link to this section Functions
Creates an Xgit.Core.FileContentSource
for a file on disk.