Skip to main content

Module vfs

Module vfs 

Source
Expand description

VFS management commands

Modulesยง

cat ๐Ÿ”’
cd ๐Ÿ”’
cp ๐Ÿ”’
df ๐Ÿ”’
ls ๐Ÿ”’
mkdir ๐Ÿ”’
mount ๐Ÿ”’
mv ๐Ÿ”’
rm ๐Ÿ”’
scheme ๐Ÿ”’
stat ๐Ÿ”’
touch ๐Ÿ”’
umount ๐Ÿ”’
write ๐Ÿ”’

Staticsยง

SHELL_CWD ๐Ÿ”’
Current working directory for the chevron shell.

Functionsยง

cmd_cat
Print file contents.
cmd_cat_impl ๐Ÿ”’
Display file contents. Display file contents or piped input.
cmd_cd
Change working directory.
cmd_cd_impl ๐Ÿ”’
Change the shell working directory.
cmd_cp
Copy file contents.
cmd_cp_impl ๐Ÿ”’
cmd_df
Show filesystem usage.
cmd_df_impl ๐Ÿ”’
cmd_ls
List directory entries.
cmd_ls_impl ๐Ÿ”’
List directory contents or mount points.
cmd_mkdir
Create directory.
cmd_mkdir_impl ๐Ÿ”’
Create a new directory.
cmd_mount
Mount filesystems and schemes.
cmd_mount_impl ๐Ÿ”’
Performs the cmd mount operation.
cmd_mv
Move or rename entry.
cmd_mv_impl ๐Ÿ”’
cmd_rm
Remove file entry.
cmd_rm_impl ๐Ÿ”’
Remove a file or directory.
cmd_scheme
Manage VFS schemes.
cmd_scheme_impl ๐Ÿ”’
List registered schemes.
cmd_stat
Show file metadata.
cmd_stat_impl ๐Ÿ”’
cmd_touch
Create empty file.
cmd_touch_impl ๐Ÿ”’
Create a new empty file.
cmd_umount
Unmount filesystems.
cmd_umount_impl ๐Ÿ”’
Performs the cmd umount operation.
cmd_write
Write string data into file.
cmd_write_impl ๐Ÿ”’
get_cwd
Read the current working directory.
normalize_path ๐Ÿ”’
Collapse .., . and redundant / in an absolute path.
resolve_shell_path
Resolve path relative to the shell CWD.
set_cwd ๐Ÿ”’
Sets cwd.