Commit 7a7b5bab authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d2a62f6c
...@@ -540,7 +540,7 @@ type blkLoadState struct { ...@@ -540,7 +540,7 @@ type blkLoadState struct {
err error err error
} }
// /head/watch - represented by WatchNode. // /head/watch - served by WatchNode.
type WatchNode struct { type WatchNode struct {
fsNode fsNode
...@@ -548,7 +548,7 @@ type WatchNode struct { ...@@ -548,7 +548,7 @@ type WatchNode struct {
idNext int32 // ID for next opened WatchLink idNext int32 // ID for next opened WatchLink
} }
// /head/watch handle - represented by WatchLink. // /head/watch handle - served by WatchLink.
type WatchLink struct { type WatchLink struct {
sk *FileSock // IO channel to client sk *FileSock // IO channel to client
id int32 // ID of this /head/watch handle (for debug log) id int32 // ID of this /head/watch handle (for debug log)
...@@ -566,7 +566,7 @@ type WatchLink struct { ...@@ -566,7 +566,7 @@ type WatchLink struct {
rxTab map[uint64]chan string // client replies go via here rxTab map[uint64]chan string // client replies go via here
} }
// Watch represents watching for changes to 1 BigFile. // Watch represents watching for changes to 1 BigFile over particular watch link.
type Watch struct { type Watch struct {
link *WatchLink // link to client link *WatchLink // link to client
file *BigFile // XXX needed? file *BigFile // XXX needed?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment