baml.fs.remove

Removes the file at `path`. Throws `Io` if the file does not exist or cannot be deleted.

Reference version

Signature

function baml.fs.remove(path: string) -> null throws baml.errors.Io

Removes the file at path. Throws Io if the file does not exist or cannot be deleted.

This handles regular files only. To delete a directory use remove_dir (empty directories) or remove_dir_all (directory trees).

Source:<builtin>/baml/ns_fs/fs.bamlbytes 42104295