@@ -340,7 +340,7 @@ impl File {
340340 map_fresult ( vex_sdk:: vexFileSeek ( self . fd . 0 , try_convert_offset ( offset) ?, SEEK_SET ) ) ?
341341 } ,
342342
343- // vexOS does not allow seeking with negative offsets.
343+ // VEXos does not allow seeking with negative offsets.
344344 // That means we need to calculate the offset from the start for both of these.
345345 SeekFrom :: End ( offset) => unsafe {
346346 // If our offset is positive, everything is easy
@@ -430,7 +430,7 @@ impl Drop for File {
430430pub fn readdir ( _p : & Path ) -> io:: Result < ReadDir > {
431431 // While there *is* a userspace function for reading file directories,
432432 // the necessary implementation cannot currently be done cleanly, as
433- // vexOS does not expose directory length to user programs.
433+ // VEXos does not expose directory length to user programs.
434434 //
435435 // This means that we would need to create a large fixed-length buffer
436436 // and hope that the folder's contents didn't exceed that buffer's length,
@@ -458,7 +458,7 @@ pub fn remove_dir_all(_path: &Path) -> io::Result<()> {
458458 unsupported ( )
459459}
460460
461- pub fn try_exists ( path : & Path ) -> io:: Result < bool > {
461+ pub fn exists ( path : & Path ) -> io:: Result < bool > {
462462 let path = CString :: new ( path. as_os_str ( ) . as_encoded_bytes ( ) )
463463 . map_err ( |_| io:: Error :: new ( io:: ErrorKind :: InvalidData , "Path contained a null byte" ) ) ?;
464464
0 commit comments