NewFileMap returns a new builder of a type "file" schema for the provided fileName. The chunk parts of the file are not populated.
(fileName string)
| 692 | // NewFileMap returns a new builder of a type "file" schema for the provided fileName. |
| 693 | // The chunk parts of the file are not populated. |
| 694 | func NewFileMap(fileName string) *Builder { |
| 695 | return newCommonFilenameMap(fileName).SetType(TypeFile) |
| 696 | } |
| 697 | |
| 698 | // NewDirMap returns a new builder of a type "directory" schema for the provided fileName. |
| 699 | func NewDirMap(fileName string) *Builder { |