Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
355ffc66
Commit
355ffc66
authored
Feb 13, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f21b6a69
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
t/neo/storage/fs1/b/gen-fsbtree
t/neo/storage/fs1/b/gen-fsbtree
+5
-4
t/neo/storage/fs1/index.go
t/neo/storage/fs1/index.go
+1
-0
No files found.
t/neo/storage/fs1/b/gen-fsbtree
View file @
355ffc66
#!/bin/sh -e
#!/bin/sh -e
# generate b.Tree with compile-time KEY & VALUE
# generate b.Tree with compile-time KEY=zodb.Oid, VALUE=uint64
KEY
=
zodb.Oid
VALUE
=
uint64
b
=
github.com/cznic/b
b
=
github.com/cznic/b
Bdir
=
`
go list
-f
'{{.Dir}}'
$b
`
Bdir
=
`
go list
-f
'{{.Dir}}'
$b
`
Brev
=
`
cd
$Bdir
&&
git describe
--always
`
Brev
=
`
cd
$Bdir
&&
git describe
--always
`
out
=
fsbtree.go
out
=
fsbtree.go
KEY
=
zodb.Oid
VALUE
=
uint64
echo
"// DO NOT EDIT - AUTOGENERATED (by gen-fsbtree from
$b
$Brev
)"
>
$out
echo
"// DO NOT EDIT - AUTOGENERATED (by gen-fsbtree from
$b
$Brev
)"
>
$out
echo
"// KEY=
$KEY
VALUE=
$VALUE
"
>>
$out
echo
"// KEY=
$KEY
VALUE=
$VALUE
"
>>
$out
echo
"// ---- 8< ----"
>>
$out
echo
"// ---- 8< ----"
>>
$out
...
...
t/neo/storage/fs1/index.go
View file @
355ffc66
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
// XXX based on code from ZODB ?
// XXX based on code from ZODB ?
// FileStorage. Index
// FileStorage. Index
package
fs1
import
(
import
(
)
)
...
...
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