Create a CAR file from a file or directory using UnixFS encoding
Path to the file or directory to encode
Optional logger, bare flag, and directory flag
Path to temporary CAR file, root CID, and entry count
Create a CAR file from a file or directory using UnixFS encoding