Module file

Module file 

Source
Expand description

File helpers. Contains build_from_path and build_from_content functions to create a File from fs / memory content.

Structs§

BuildFromContentOptions
Options when preparing file in build_from_content.
BuildFromPathOptions
Options when preparing file in build_from_path.

Functions§

build_from_content
Creates a File from provided raw content and content-type.
build_from_path
Creates a File by reading file from fs, specified by path.