mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 11:53:24 +00:00
Unseekable files need not to manipulate the offset
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
92680ea25d
commit
9638744712
@ -426,6 +426,10 @@ pub trait Inode: Any + Sync + Send {
|
||||
true
|
||||
}
|
||||
|
||||
fn is_seekable(&self) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
/// Get the extension of this inode
|
||||
fn extension(&self) -> Option<&Extension> {
|
||||
None
|
||||
|
Reference in New Issue
Block a user