Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
60659055
Commit
60659055
authored
Nov 26, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
d15f8444
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+9
-0
No files found.
wcfs/wcfs_test.py
View file @
60659055
...
...
@@ -729,10 +729,19 @@ class tWatchLink(wcfs.WatchLink):
t
.
tdb
=
tdb
tdb
.
_wlinks
.
add
(
t
)
# this tWatchLink currently watches the following files at particular state.
t
.
_watching
=
{}
# {} foid -> tWatch
def
close
(
t
):
t
.
tdb
.
_wlinks
.
remove
(
t
)
super
(
tWatchLink
,
t
).
close
()
# disable all established watches
for
w
in
t
.
_watching
.
values
():
w
.
at
=
z64
w
.
pinned
=
{}
t
.
_watching
=
{}
# XXX just wrap req.at with tAt inpace
"""
# recvReq is the same as WatchLink.recvReq but returns tSrvReq instead of PinReq.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment