Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bazil/bazil
/ functions
Functions
1,400 in github.com/bazil/bazil
⨍
Functions
1,400
◇
Types & classes
236
↓ 6 callers
Function
Parse
Parse interprets a string as a value of any of the recognized types. Value should be a pointer.
cliutil/strconvx/strconvx.go:17
↓ 6 callers
Method
Parse
(args []string)
cliutil/subcommands/iface.go:14
↓ 6 callers
Method
Private
Private extracts the private data from a Key in the private range. The return value ok is false if the Key was not a private key.
cas/key.go:76
↓ 6 callers
Method
Recv
()
peer/wire/peer.pb.go:843
↓ 6 callers
Method
ToBlob
(type_ string)
cas/wire/to-blobs.go:8
↓ 6 callers
Method
Tombstone
Tombstone changes clock into a tombstone.
fs/clock/clock.go:121
↓ 6 callers
Function
Verify
Verify a vouch as offered by the TLS peer. Returns the signing public key. It is up to the caller to decide whether this key is acceptable. Does not
util/edtls/vouch.go:64
↓ 6 callers
Function
benchmark
(b *testing.B, fn func(b *testing.B, mnt string))
fs/bench_test.go:14
↓ 6 callers
Function
checkRPCError
(err error, code codes.Code, message string)
server/control/common_test.go:10
↓ 6 callers
Method
setName
(name string)
fs/fs.go:448
↓ 5 callers
Function
EmptyManifest
EmptyManifest returns an empty manifest of the given type with the default tuning parameters.
cas/blobs/blobs.go:53
↓ 5 callers
Method
Error
()
cas/blobs/blobs.go:101
↓ 5 callers
Method
Error
()
db/volumeClock.go:18
↓ 5 callers
Function
Hash
Hash hashes the data in a chunk into a cas.Key. Hash makes sure to never return a Special Key.
cas/chunks/chunkutil/hash.go:22
↓ 5 callers
Method
MarshalBinary
()
fs/clock/clock.go:31
↓ 5 callers
Method
ResolveOurs
ResolveOurs records a conflict resolution in favor of us.
fs/clock/clock.go:140
↓ 5 callers
Method
String
()
server/control/wire/peer.pb.go:32
↓ 5 callers
Method
String
String returns a hex encoding of the key.
cas/key.go:42
↓ 5 callers
Method
String
()
fs/clock/vector.go:31
↓ 5 callers
Method
Truncate
Truncate adjusts the size of the blob. If the new size is less than the old size, data past that point is lost. If the new size is greater than the ol
cas/blobs/blobs.go:498
↓ 5 callers
Method
Usage
Usage writes a usage message for the active subcommand to standard error.
cliutil/subcommands/result.go:63
↓ 5 callers
Method
UsageTo
UsageTo writes a usage message for the active subcommand to the given Writer.
cliutil/subcommands/result.go:69
↓ 5 callers
Method
auth
(ctx context.Context)
server/peer/peer.go:17
↓ 5 callers
Method
dirtyEpoch
()
fs/fs.go:125
↓ 5 callers
Method
updateParents
updateParents updates the modified clock on d and its parents. The source of the modification time change is a child of d, with the given modified cl
fs/dir.go:252
↓ 4 callers
Method
Close
()
db/common_test.go:33
↓ 4 callers
Method
Error
()
cliutil/positional/parse.go:13
↓ 4 callers
Method
GetByVolumeID
(volID *VolumeID)
db/volume.go:69
↓ 4 callers
Method
GetVolume
(id *db.VolumeID)
server/server.go:130
↓ 4 callers
Function
New
(k ...kv.KV)
kv/kvmulti/kvmulti.go:14
↓ 4 callers
Method
Next
()
db/peer.go:148
↓ 4 callers
Function
Open
Serve this snapshot with FUSE, with this object store.
fs/snap/fuse.go:20
↓ 4 callers
Method
Open
(ctx context.Context, req *fuse.OpenRequest, resp *fuse.OpenResponse)
fs/readonly/file.go:58
↓ 4 callers
Method
Ping
(ctx context.Context, in *PingRequest, opts ...grpc.CallOption)
peer/wire/peer.pb.go:769
↓ 4 callers
Method
Ping
(ctx context.Context, in *PingRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:140
↓ 4 callers
Method
RewritePeers
RewritePeers updates the peer identifiers in the clock based on the given mapping. This is useful because the short identifiers are not globally alloc
fs/clock/clock.go:169
↓ 4 callers
Method
Run
()
cliutil/subcommands/iface.go:44
↓ 4 callers
Method
Seek
Seek to first name equal to name, or the next one if exact match is not found. Passing an empty name seeks to the beginning of the directory.
db/volumeDir.go:171
↓ 4 callers
Method
Serve
()
server/http/http.go:27
↓ 4 callers
Function
SyncToMissing
SyncToMissing returns what action receiving state from A to B should cause us to take. B does not exist currently.
fs/clock/clock.go:233
↓ 4 callers
Method
UnmarshalBinary
(b []byte)
cas/key.go:93
↓ 4 callers
Method
UnmarshalBinary
(data []byte)
db/volumeID.go:22
↓ 4 callers
Function
checkMakePeer
(tx *db.Tx, pub *peer.PublicKey, id peer.ID)
db/peer_test.go:11
↓ 4 callers
Method
last
()
cliutil/subcommands/result.go:56
↓ 4 callers
Function
localChunkIndexes
Given a global chunk index, generate a list of local chunk indexes. The list needs to be generated bottom up, but we consume it top down, so generate
cas/blobs/blobs.go:158
↓ 4 callers
Method
lookup
Lookup name in active children, adding one if necessary, and return the refcount data for it. Caller is responsible for increasing the refcount. Call
fs/dir.go:123
↓ 4 callers
Function
mustGenerateTLSConfig
(t *testing.T, signPub *[ed25519.PublicKeySize]byte, signPriv *[ed25519.PrivateKeySize]byte)
util/edtls/client_test.go:37
↓ 4 callers
Method
pathToKey
(parentInode uint64, name string, clock []byte)
db/volumeConflict.go:21
↓ 4 callers
Function
setup_dir
(t testing.TB, chunkStore chunks.Store, dirents []*wire.Dirent)
fs/snap/serve_test.go:64
↓ 4 callers
Method
syncToNode
child can be nil iff wde is a Tombstone. caller must hold d.mu
fs/dir.go:772
↓ 3 callers
Method
Clone
Clone is like Get but clones the chunk if it's not already private. Chunks that are already private are returned as-is. A cloned chunk will have a bu
cas/chunks/stash/stash.go:75
↓ 3 callers
Method
Create
(ctx context.Context, req *fuse.CreateRequest, resp *fuse.CreateResponse)
fs/snap/fuse.go:118
↓ 3 callers
Method
Delete
Delete the entry in parent directory with the given name. Returns fuse.ENOENT if an entry does not exist.
db/volumeDir.go:61
↓ 3 callers
Method
Dirent
Dirent returns the directory entry for this item. out is valid after the transaction.
db/volumeConflict.go:168
↓ 3 callers
Method
FS
FS returns the underlying filesystem implementation. Caller must keep a reference to VolumeRef for the duration
server/server.go:288
↓ 3 callers
Method
GetType
()
peer/wire/peer.pb.go:544
↓ 3 callers
Method
GetType
()
fs/wire/dirent.pb.go:90
↓ 3 callers
Method
InodeBucket
InodeBucket returns a bolt bucket for storing inodes in.
db/volume.go:210
↓ 3 callers
Method
IsAllowed
(vol *Volume)
db/peer.go:260
↓ 3 callers
Function
NewClient
(rawConn net.Conn, config *tls.Config, peerPub *[ed25519.PublicKeySize]byte)
util/edtls/client.go:30
↓ 3 callers
Function
NewRandReader
(seed int64)
cas/blobs/quickblobs_test.go:44
↓ 3 callers
Method
PeerLocationSet
(ctx context.Context, in *PeerLocationSetRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:149
↓ 3 callers
Method
PeerStorageAllow
(ctx context.Context, in *PeerStorageAllowRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:150
↓ 3 callers
Method
PeerVolumeAllow
(ctx context.Context, in *PeerVolumeAllowRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:151
↓ 3 callers
Method
Pub
()
db/peer.go:157
↓ 3 callers
Method
PublicKeyGet
(ctx context.Context, in *PublicKeyGetRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:141
↓ 3 callers
Method
Put
Put returns an id to the pool.
idpool/idpool.go:33
↓ 3 callers
Method
Read
(p []byte)
cas/blobs/quickblobs_test.go:30
↓ 3 callers
Method
Secret
Secret copies the secret key to out. out is valid after the transaction.
db/sharingKey.go:114
↓ 3 callers
Method
Set
(value string)
peer/peer.go:38
↓ 3 callers
Method
SnapBucket
SnapBucket returns a bolt bucket for storing snapshots in.
db/volume.go:215
↓ 3 callers
Method
ValidateKV
(backend string)
server/server.go:254
↓ 3 callers
Method
VolumeConnect
(ctx context.Context, in *VolumeConnectRequest, opts ...grpc.CallOption)
peer/wire/peer.pb.go:772
↓ 3 callers
Method
VolumeConnect
(ctx context.Context, in *VolumeConnectRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:143
↓ 3 callers
Method
VolumeCreate
(ctx context.Context, in *VolumeCreateRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:142
↓ 3 callers
Method
VolumeMount
(ctx context.Context, in *VolumeMountRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:144
↓ 3 callers
Method
VolumeStorageAdd
(ctx context.Context, in *VolumeStorageAddRequest, opts ...grpc.CallOption)
server/control/wire/control.pb.go:145
↓ 3 callers
Method
VolumeSyncPull
(ctx context.Context, in *VolumeSyncPullRequest, opts ...grpc.CallOption)
peer/wire/peer.pb.go:773
↓ 3 callers
Function
Vouch
Vouch a self-signed certificate that is about to be created with an Ed25519 signature.
util/edtls/vouch.go:20
↓ 3 callers
Method
add
(name string, pkg string, cmd interface{})
cliutil/subcommands/result.go:29
↓ 3 callers
Function
checkHasNoPeers
(app *server.App)
server/control/peerAdd_test.go:22
↓ 3 callers
Function
checkNoSharingKey
(name string)
server/control/sharingKeyAdd_test.go:19
↓ 3 callers
Function
connectVolume
connectVolumeOnly connects a volume.
fs/sync_test.go:92
↓ 3 callers
Function
doReads
(size int64)
fs/bench_test.go:67
↓ 3 callers
Function
doWrites
(size int64)
fs/bench_test.go:27
↓ 3 callers
Method
grow
(ctx context.Context, level uint8)
cas/blobs/blobs.go:291
↓ 3 callers
Method
item
(k, v []byte)
db/volumeDir.go:178
↓ 3 callers
Method
listSubcommands
(pkg string)
cliutil/subcommands/shell.go:70
↓ 3 callers
Function
makeKey
(keybuf []byte)
cas/chunks/chunkutil/hash.go:50
↓ 3 callers
Function
marshalUvarint
(buf *bytes.Buffer, n uint64)
fs/clock/marshal.go:29
↓ 3 callers
Function
marshalVector
(buf *bytes.Buffer, vec vector)
fs/clock/marshal.go:35
↓ 3 callers
Function
meta
(field reflect.StructField)
cliutil/positional/usage.go:36
↓ 3 callers
Function
newDir
(filesys *Volume, inode uint64, parent *dir, name string)
fs/dir.go:69
↓ 3 callers
Function
newFS
(chunkStore chunks.Store, de *wire.Dirent)
fs/snap/serve_test.go:32
↓ 3 callers
Method
rewritePeers
(m map[Peer]Peer)
fs/clock/vector.go:120
↓ 3 callers
Method
saveInternal
saveInternal persists entry name in dir to the database. uses no mutable state of d, and hence does not need to lock d.mu.
fs/dir.go:235
↓ 3 callers
Function
setup_fs
(t *testing.T)
fs/snap/serve_test.go:93
↓ 3 callers
Function
unmarshalVector
(buf *bytes.Reader, vec *vector)
fs/clock/marshal.go:72
↓ 2 callers
Method
Add
(de *wire.Dirent)
fs/snap/writer.go:30
↓ 2 callers
Method
Args
()
cliutil/subcommands/iface.go:15
← previous
next →
101–200 of 1,400, ranked by callers