Module utils
Source - archive_local
- archive the directory to the target CAR format file
path
is the directory archived in to the CAR file.
to_carfile
is the target file. - cat_ipld
- cat_ipld_str
- empty_pb_cid
- extract_ipld
- extract files from CAR file.
if the
parent
path is none, will use current path as root path.
cid
is the root cid - extract_ipld_to_current_path
- extract files to current path from CAR file.
cid
is the root cid - ipld_write
- write ipld to output
file_cid
is the file cid to write
output
is the out the file write to. - list
- the list file_name from car file by reader.
- list_call
- the list car file by reader.
reader
is the CarReader
list_f
is the list call function, first parameter is cid, the second is cid path. - list_cid
- the list_cid file_name from car file by reader.
- pb_cid
- pipe_raw_cid
- raw_cid
- walk_dir