Exemplo n.º 1
0
func convertChildInodeEntry(
	in *ChildInodeEntry,
	out *bazilfuse.LookupResponse) {
	out.Node = bazilfuse.NodeID(in.Child)
	out.Generation = uint64(in.Generation)
	out.Attr = convertAttributes(in.Child, in.Attributes, in.AttributesExpiration)
	out.EntryValid = convertExpirationTime(in.EntryExpiration)
}
Exemplo n.º 2
0
func initLookupResponse(s *fuse.LookupResponse) {
	s.EntryValid = entryValidTime
}