Expand description
File operation commands
This module provides file-related operations:
init_repo- Initialize repositoryadd_file- Add file to IPFRSget_file- Retrieve file from IPFRScat_file- Output file contents to stdoutls_directory- List directory contents
Structs§
- Directory
Entry - Directory entry for ls command
Functions§
- add_
file - Add file to IPFRS
- cat_
file - Output file contents to stdout
- extract_
directory_ entries - Extract directory entries from IPLD structure
- get_
file - Get file from IPFRS and save to disk
- init_
repo - Initialize IPFRS repository
- ls_
directory - List directory contents