bit_osfs

    OS-backed FileSystem / RepoFileSystem implementations (gix-fs OS impl)

    git
    fs
    Download zip
    Author
    Version
    0.48.1
    License
    Apache-2.0
    Last updated
    9 days ago
    Downloads
    2K

    OsFs

    pub struct OsFs {
    // private fields
    }

    impl FileSystem for OsFs

    OsFs::is_dir

    fn OsFs::is_dir(_self : OsFs, path : String) -> Bool

    OsFs::is_file

    fn OsFs::is_file(_self : OsFs, path : String) -> Bool

    OsFs::mkdir_p

    fn OsFs::mkdir_p(_self : OsFs, path : String) -> Unit raise
    GitError

    OsFs::mtime

    fn OsFs::mtime(self : OsFs, path : String) -> (Int, Int) raise
    GitError

    OsFs::new

    fn OsFs::new() -> OsFs

    OsFs::read_file

    fn OsFs::read_file(_self : OsFs, path : String) -> Bytes raise
    GitError

    OsFs::readdir

    fn OsFs::readdir(_self : OsFs, path : String) -> Array[String] raise
    GitError

    OsFs::remove_dir

    fn OsFs::remove_dir(_self : OsFs, path : String) -> Unit raise
    GitError

    OsFs::remove_file

    fn OsFs::remove_file(_self : OsFs, path : String) -> Unit raise
    GitError

    OsFs::write_file

    fn OsFs::write_file(_self : OsFs, path : String, content : Bytes) -> Unit raise
    GitError

    OsFs::write_string

    fn OsFs::write_string(_self : OsFs, path : String, content : String) -> Unit raise
    GitError

    Source Files