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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
3e68ba25
Commit
3e68ba25
authored
Dec 27, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f7abf2e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
wcfs/wcfs.go
wcfs/wcfs.go
+10
-7
No files found.
wcfs/wcfs.go
View file @
3e68ba25
...
...
@@ -626,10 +626,12 @@ func (r *Root) zhandle1(zevent zodb.CommitEvent) {
// XXX resync .zhead to zevent.tid
/* XXX reenable
// notify .wcfs/zhead
for fh := range gdebug.zhead.fhTab {
fh
.
Write
(
fmt
.
Sprintf
(
"%s
\n
"
,
zevent
.
t
id
))
// XXX -> fh = filesock
fh.Write(fmt.Sprintf("%s\n", zevent.
T
id)) // XXX -> fh = filesock
}
*/
}
// invalidateBlk invalidates 1 file block. XXX
...
...
@@ -1244,12 +1246,13 @@ func main() {
mkdir
(
root
,
".wcfs"
,
dotwcfs
)
mkfile
(
dotwcfs
,
"zurl"
,
NewStaticFile
([]
byte
(
zurl
)))
// .wcfs/zhead - special file. If a user opens it, it will start to get
// tids of through whichzhead.at was, starting from the time when
// .wcfs/zhead was opened. There can be multiple openers. Once opened,
// the file must be read, as wcfs blocks waiting for data to be read.
// XXX text review.
mkfile
(
dotwcfs
,
"zhead"
,
...
)
// .wcfs/zhead - special file channel that sends zhead.at.
//
// If a user opens it, it will start to get tids of through which
// zhead.at was, starting from the time when .wcfs/zhead was opened.
// There can be multiple openers. Once opened, the file must be read,
// as wcfs blocks waiting for data to be read.
//mkfile(dotwcfs, "zhead", ...) XXX reenable
// TODO handle autoexit
_
=
autoexit
...
...
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