wasibox-core 1.0.4

A collection of core utilities optimized for WASI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::ffi::OsString;
use crate::utils::ls;

pub fn execute<I, T>(args: I) -> Result<(), String>
where
    I: IntoIterator<Item = T>,
    T: Into<OsString> + Clone,
{
    // GNU dir is essentially ls with some different defaults, 
    // but in many implementations it's just an alias.
    ls::execute(args)
}