We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6956bcf commit 5e707b1Copy full SHA for 5e707b1
library/std/src/sys/pal/vexos/fs.rs
@@ -257,6 +257,26 @@ impl File {
257
self.flush()
258
}
259
260
+ pub fn lock(&self) -> io::Result<()> {
261
+ unsupported()
262
+ }
263
+
264
+ pub fn lock_shared(&self) -> io::Result<()> {
265
266
267
268
+ pub fn try_lock(&self) -> io::Result<bool> {
269
270
271
272
+ pub fn try_lock_shared(&self) -> io::Result<bool> {
273
274
275
276
+ pub fn unlock(&self) -> io::Result<()> {
277
278
279
280
pub fn truncate(&self, _size: u64) -> io::Result<()> {
281
unsupported()
282
0 commit comments