Skip to content

Commit 762e471

Browse files
committed
allow reading back the flags on a line handle
1 parent 48a3948 commit 762e471

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -692,6 +692,11 @@ impl LineHandle {
692692
pub fn line(&self) -> &Line {
693693
&self.line
694694
}
695+
696+
/// Get the flags with which this handle was created
697+
pub fn flags(&self) -> LineRequestFlags {
698+
self.flags
699+
}
695700
}
696701

697702
impl AsRawFd for LineHandle {

0 commit comments

Comments
 (0)