Files
turso/core
Dezhi Wu bea49549ed feat(core/io): Add support for file creation in open_file function
`cargo test` is always failing on FreeBSD, the following is one of the
errors:

```
---- tests::test_simple_overflow_page stdout ----
thread 'tests::test_simple_overflow_page' panicked at test/src/lib.rs:32:84:
called `Result::unwrap()` on an `Err` value: IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" })
```

After some digging, I found that the `open_file` function in
`core/io/generic.rs` does not respect the `OpenFlags::Create` flag. This
commit adds support for file creation in the `open_file` function.

`cargo test` now passes on FreeBSD.
2024-12-22 11:04:15 +08:00
..
2024-12-20 11:32:57 +01:00
2024-12-21 13:19:04 +05:30
2024-12-21 13:19:04 +05:30
2024-12-20 11:32:57 +01:00
2024-12-20 11:15:48 +01:00
2024-12-19 12:30:32 +02:00
2024-12-09 22:48:42 +05:30
2024-12-20 11:15:48 +01:00