buildFileEntry

Creates a File from the path and metadata without loading file content.

Return

a File with metadata and no content (Content.None)

Parameters

Path

the filesystem path type

fs

the filesystem provider used to access file attributes

path

the file path to describe

metadata

metadata for the file at path