MCPcopy Create free account

hub / github.com/bazil/bazil / functions

Functions1,400 in github.com/bazil/bazil

↓ 1 callersMethodLookup
(ctx context.Context, name string)
fs/snap/fuse.go:73
↓ 1 callersMethodLookup
TODO how to pass ctx to rat.ReadAt
fs/snap/reader.go:25
↓ 1 callersFunctionMain
Main is primary entry point into the bazil command line application.
cli/cli.go:150
↓ 1 callersMethodMarshalBinary
()
cas/key.go:106
↓ 1 callersFunctionMarshalPrefixBytes
MarshalPrefixBytes marshals a uvarint length prefixed protobuf message.
pb/marshalprefixbytes.go:10
↓ 1 callersFunctionNew
(app *server.App)
server/peer/peer.go:44
↓ 1 callersFunctionNew
New creates a new Stash.
cas/chunks/stash/stash.go:12
↓ 1 callersFunctionNewPeerClient
(cc *grpc.ClientConn)
peer/wire/peer.pb.go:780
↓ 1 callersMethodNextEpoch
NextEpoch increments the epoch and returns the new value. The value is only safe to use if the transaction commits. If epoch wraps around, returns Er
db/volume.go:249
↓ 1 callersFunctionOpen
(peer wire.PeerClient)
kv/kvpeer/kvpeer.go:78
↓ 1 callersMethodOpen
Open key-value stores as allowed for this peer. Uses the opener function for the actual open action. If the peer is not allowed to use any storage, r
db/peer.go:228
↓ 1 callersMethodProtocol
()
fs/fstestutil/create.go:89
↓ 1 callersMethodPut
(ctx context.Context, key, value []byte)
kv/kvmock/inmem.go:23
↓ 1 callersMethodReadlink
(ctx context.Context, req *fuse.ReadlinkRequest)
fs/pending.go:233
↓ 1 callersMethodRegister
Register a new command. Each command is a singleton value of a unique type that has its address given to Shell.Register. Commands are identified by t
cliutil/subcommands/shell.go:60
↓ 1 callersFunctionRegisterControlServer
(s *grpc.Server, srv ControlServer)
server/control/wire/control.pb.go:327
↓ 1 callersFunctionRegisterPeerServer
(s *grpc.Server, srv PeerServer)
peer/wire/peer.pb.go:929
↓ 1 callersMethodResolveNew
ResolveNew records a conflict resolution in favor of newly created content.
fs/clock/clock.go:148
↓ 1 callersMethodSendAndClose
(*ObjectPutResponse)
peer/wire/peer.pb.go:956
↓ 1 callersMethodServe
()
server/control/server.go:44
↓ 1 callersMethodSet
(value string)
db/volumeID.go:48
↓ 1 callersMethodSetOutput
(w io.Writer)
cliutil/subcommands/iface.go:24
↓ 1 callersMethodSetup
()
cli/cli.go:119
↓ 1 callersMethodSharingKeyName
SharingKeyName returns the sharing key name for this item. Returned value is valid after the transaction.
db/volumeStorage.go:89
↓ 1 callersMethodSnapshot
Snapshot records a snapshot of the volume. The Snapshot message itself has not been persisted yet.
fs/fs.go:98
↓ 1 callersMethodStorage
()
db/volume.go:188
↓ 1 callersMethodString
()
cliutil/flagx/abspath.go:15
↓ 1 callersMethodString
()
cas/chunks/chunks.go:20
↓ 1 callersMethodSyncReceive
(ctx context.Context, dirPath string, peers map[uint32][]byte, dirClockBuf []byte, recv func() ([]*wirepeer.Di
fs/fs.go:400
↓ 1 callersMethodTeardown
()
cli/cli.go:120
↓ 1 callersMethodTombstoneCreate
TombstoneCreate marks the entry in parent directory with the given name as removed, but leaves a hint of its existence. It creates a new entry if one
db/volumeDir.go:93
↓ 1 callersFunctionTombstoneFromParent
TombstoneFromParent returns a new tombstone clock based on the parent.
fs/clock/clock.go:183
↓ 1 callersMethodUnmarshalBinary
(data []byte)
fs/clock/clock.go:39
↓ 1 callersFunctionUnmarshalPrefixAt
UnmarshalPrefixAt unmarshals a uvarint length prefixed protobuf message.
pb/unmarshalprefixat.go:14
↓ 1 callersMethodUpdate
(parentInode uint64, name string, now clock.Epoch)
db/volumeClock.go:79
↓ 1 callersMethodUpdateOrCreate
(parentInode uint64, name string, now clock.Epoch)
db/volumeClock.go:105
↓ 1 callersMethodUpdateParent
UpdateParent is like Update, but does not simplify the modification time version vector. It is safe to use for directories and other entities where up
fs/clock/clock.go:94
↓ 1 callersMethodWaitForUnmount
()
server/server.go:386
↓ 1 callersFunctionbasename
(dirKey []byte)
db/volumeDir.go:24
↓ 1 callersFunctionbuildCommands
(dst string, importPaths ...string)
task/gen-protobuf.go:40
↓ 1 callersFunctionbytesToInode
(buf []byte)
fs/inodes/inodes.go:21
↓ 1 callersMethodcleanEpoch
caller must hold v.epoch.mu
fs/fs.go:133
↓ 1 callersMethoddebug
(msg interface{})
server/server.go:377
↓ 1 callersMethoddirToKeyPrefix
(parentInode uint64)
db/volumeConflict.go:30
↓ 1 callersFunctionexpandPackages
(spec []string)
task/gen-imports.go:42
↓ 1 callersFunctionfindSig
(cert *x509.Certificate, pub *[ed25519.PublicKeySize]byte, sig *[ed25519.SignatureSize]byte)
util/edtls/vouch.go:42
↓ 1 callersMethodgenerateTLSConfig
(signPub *[ed25519.PublicKeySize]byte, signPriv *[ed25519.PrivateKeySize]byte)
server/tls.go:25
↓ 1 callersMethodgetSharingKey
(name string, out *[32]byte)
cli/debug/cas/cas.go:34
↓ 1 callersFunctiongetTagField
Get the named struct tag field. For example, from Foo struct { Bar string `positional:"something,metavar=BLEH,somethingelse"` } calling getTagField
cliutil/positional/usage.go:25
↓ 1 callersFunctiongitVersion
()
task/build.go:44
↓ 1 callersFunctiongoBuild
(src string, action string, args ...string)
task/build.go:30
↓ 1 callersFunctiongopath
()
task/gen-protobuf.go:17
↓ 1 callersFunctionincludeArgs
(gopath []string)
task/gen-protobuf.go:21
↓ 1 callersMethodinitPeers
()
db/peer.go:29
↓ 1 callersMethodinitSharingKeys
()
db/sharingKey.go:21
↓ 1 callersMethodinitVolumes
()
db/volume.go:33
↓ 1 callersFunctioninodeToBytes
(inode uint64, buf []byte)
fs/inodes/inodes.go:17
↓ 1 callersMethodinvalidateEntry
(d node, name string)
fs/fs.go:429
↓ 1 callersFunctionisInUse
isInUse returns if the error was EADDRINUSE, as expected from from bind(2).
util/trylisten/trylisten.go:10
↓ 1 callersFunctionlistProtos
()
task/gen-protobuf.go:50
↓ 1 callersFunctionloadOrGenerateKeys
loadOrGenerateKeys reads the master signing key from the global state in DB, (generating one if it's not already there), and generates the boxing keys
server/key.go:35
↓ 1 callersFunctionlock
(lockPath string)
server/lock.go:9
↓ 1 callersMethodlookup
lookup fetches the data chunk for given global byte offset. The returned Chunk remains zero trimmed. It may be a Private or a normal chunk. For writ
cas/blobs/blobs.go:192
↓ 1 callersMethodlookupPath
(tx *db.Tx, dirPath string)
fs/fs.go:352
↓ 1 callersFunctionmakePeerMap
makePeerMap returns a mapping from the peerids in peers to the ones in the local database.
fs/dir.go:674
↓ 1 callersMethodmarshal
(ctx context.Context)
fs/fs.go:447
↓ 1 callersFunctionnewInvalidKey
()
cas/key.go:177
↓ 1 callersMethodnextEpoch
caller is responsible for locking TODO nextEpoch only needs to tick if the volume is seeing mutation; unmounted is safe?
fs/fs.go:112
↓ 1 callersMethodopenVolume
caller must hold App.volumes.Mutex
server/server.go:175
↓ 1 callersFunctionprocess
()
task/gen-protobuf.go:72
↓ 1 callersFunctionprocess
(dst string, imports []string)
task/gen-imports.go:64
↓ 1 callersFunctionrandomVolumeID
()
db/volume.go:167
↓ 1 callersMethodreviveNode
(de *wire.Dirent, name string)
fs/dir.go:182
↓ 1 callersFunctionrun
(result subcommands.Result)
cli/cli.go:123
↓ 1 callersMethodsave
(tx *db.Tx, name string, de *wire.Dirent)
fs/dir.go:299
↓ 1 callersMethodsaveChunk
(ctx context.Context, key cas.Key, level uint8)
cas/blobs/blobs.go:599
↓ 1 callersMethodsnapshot
snapshot records a snapshot of the directory and stores it in wde
fs/dir.go:604
↓ 1 callersFunctionsourceDir
()
task/build.go:13
↓ 1 callersFunctionsrcRoot
(abspath string)
task/gen-protobuf.go:29
↓ 1 callersFunctionstatBlocks
(size uint64)
fs/readonly/file.go:36
↓ 1 callersMethodsyncReceive
(ctx context.Context, peers map[uint32][]byte, dirClockBuf []byte, recv func() ([]*wirepeer.Dirent, error))
fs/dir.go:850
↓ 1 callersFunctiontrim
(b []byte)
cas/blobs/blobs.go:478
↓ 1 callersMethodtryResolveConflicts
Resolve as many of the postponed syncs as we can.
fs/dir.go:1022
↓ 1 callersFunctionunmarshalItem
(buf *bytes.Reader, it *item)
fs/clock/marshal.go:52
↓ 1 callersMethodupdateSimplify
updateSimplify adds id at time now to the vector, knowing that only one entry needs to be preserved.
fs/clock/vector.go:73
↓ 1 callersFunctionzeroSlice
(p []byte)
cas/blobs/blobs.go:486
MethodAdd
(ctx context.Context, chunk *chunks.Chunk)
cas/chunks/kvchunks/kvchunks.go:42
MethodAdd
Add adds a Chunk to the Store. See chunks.Store.Add.
cas/chunks/mock/inmem.go:36
MethodAdd
Add adds a Chunk to the Store. See chunks.Store.Add.
cas/chunks/mock/never.go:22
MethodAdd
Add a storage backend to be used by the volume. Active Volume instances are not notified. If volume has storage by that name already, returns ErrVol
db/volumeStorage.go:25
MethodAdd
Add a sharing key. If name is invalid, returns ErrSharingKeyNameInvalid. If a sharing key by that name already exists, returns ErrSharingKeyExist.
db/sharingKey.go:79
MethodAdd
(parentInode uint64, c *clock.Clock, de *wirepeer.Dirent)
db/volumeConflict.go:36
MethodAdd
Add adds a volume that was created elsewhere to this node. If the name exists already, returns ErrVolNameExist.
db/volume.go:163
MethodAllow
(vol *Volume)
db/peer.go:256
MethodAttr
(ctx context.Context, a *fuse.Attr)
fs/dot-bazil.go:19
MethodAttr
(ctx context.Context, a *fuse.Attr)
fs/dot-snap.go:29
MethodAttr
(ctx context.Context, a *fuse.Attr)
fs/pending.go:25
MethodAttr
(ctx context.Context, a *fuse.Attr)
fs/pending.go:92
MethodAttr
(ctx context.Context, a *fuse.Attr)
fs/pending.go:224
MethodAttr
(ctx context.Context, a *fuse.Attr)
fs/file.go:83
← previousnext →301–400 of 1,400, ranked by callers