mirror of
https://github.com/versity/scoutfs-go.git
synced 2025-12-23 05:05:17 +00:00
add missed error handling in inode to path example
This commit is contained in:
@@ -33,5 +33,9 @@ func main() {
|
||||
}
|
||||
|
||||
s, err := scoutfs.InoToPath(f, u)
|
||||
if err != nil {
|
||||
log.Fatalln("error inode to path:", err)
|
||||
}
|
||||
|
||||
fmt.Println(s)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user