Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brendoncarroll/webfs
/ functions
Functions
416 in github.com/brendoncarroll/webfs
⨍
Functions
416
◇
Types & classes
47
↓ 2 callers
Method
A
()
src/internal/wfscnp/webfs.capnp.go:1075
↓ 2 callers
Method
B
()
src/internal/wfscnp/webfs.capnp.go:1083
↓ 2 callers
Method
C
()
src/internal/wfscnp/webfs.capnp.go:1091
↓ 2 callers
Method
Cid
()
src/internal/wfscnp/webfs.capnp.go:957
↓ 2 callers
Method
D
()
src/internal/wfscnp/webfs.capnp.go:1099
↓ 2 callers
Method
Dek
()
src/internal/wfscnp/webfs.capnp.go:981
↓ 2 callers
Method
HasTouchedAt
()
src/internal/wfscnp/webfs.capnp.go:759
↓ 2 callers
Method
Link
(ctx context.Context, target blobcache.Handle, mask blobcache.ActionSet)
src/webfs/fstx.go:20
↓ 2 callers
Method
ModifiedAt
()
src/internal/wfscnp/webfs.capnp.go:239
↓ 2 callers
Method
Modify
(ctx context.Context, vcfg VolumeConfig)
src/webfs/webfs.go:183
↓ 2 callers
Method
NewCid
NewCid sets the cid field to a newly allocated UInt256 struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:972
↓ 2 callers
Method
NewCreateAt
NewCreateAt sets the createAt field to a newly allocated TAI64N struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:737
↓ 2 callers
Method
NewCreatedAt
NewCreatedAt sets the createdAt field to a newly allocated TAI64N struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:230
↓ 2 callers
Method
NewDek
NewDek sets the dek field to a newly allocated UInt256 struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:996
↓ 2 callers
Method
NewTouchedAt
NewTouchedAt sets the touchedAt field to a newly allocated TAI64N struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:769
↓ 2 callers
Function
NewUInt256
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:1033
↓ 2 callers
Method
Open
(ctx context.Context, flags uint32)
src/webfsfuse/webfsfuse.go:175
↓ 2 callers
Method
Post
(ctx context.Context, s bcsdk.WO, x T)
src/internal/gdatcache/gdatcache.go:28
↓ 2 callers
Method
ReadDir
(ctx context.Context, ino INode, gteq string)
src/webfs/dir.go:224
↓ 2 callers
Method
Release
(ctx context.Context)
src/webfsfuse/webfsfuse.go:598
↓ 2 callers
Method
RemoveXAttr
(ctx context.Context, ino INode, key XAttrKey)
src/webfs/xattrs.go:55
↓ 2 callers
Method
SetA
(v uint64)
src/internal/wfscnp/webfs.capnp.go:1079
↓ 2 callers
Method
SetB
(v uint64)
src/internal/wfscnp/webfs.capnp.go:1087
↓ 2 callers
Method
SetC
(v uint64)
src/internal/wfscnp/webfs.capnp.go:1095
↓ 2 callers
Method
SetD
(v uint64)
src/internal/wfscnp/webfs.capnp.go:1103
↓ 2 callers
Method
SetLockCount
(v uint32)
src/internal/wfscnp/webfs.capnp.go:782
↓ 2 callers
Method
SetMode
(ctx context.Context, ino INode, mode fs.FileMode)
src/webfs/file.go:168
↓ 2 callers
Method
SetTtl
(v uint32)
src/internal/wfscnp/webfs.capnp.go:750
↓ 2 callers
Method
Truncate
(ctx context.Context, ino INode, size uint64)
src/webfs/file.go:190
↓ 2 callers
Method
Ttl
()
src/internal/wfscnp/webfs.capnp.go:746
↓ 2 callers
Method
Unmarshal
(data []byte)
src/webfs/models.go:61
↓ 2 callers
Method
View
(ctx context.Context, vcfg VolumeConfig)
src/webfs/webfs.go:171
↓ 2 callers
Method
beginTx
(ctx context.Context, vcfg VolumeConfig, bctx *bcsdk.Tx, isWrite bool)
src/webfs/webfs.go:380
↓ 2 callers
Method
clearExtents
clearExtents removes all extents belonging to ino. clearExtents assumes a lock is held.
src/webfs/file.go:245
↓ 2 callers
Function
cnp256ToArray
(src wfscnp.UInt256)
src/webfs/session.go:381
↓ 2 callers
Function
copyCNP256
(dst wfscnp.UInt256, src wfscnp.UInt256)
src/webfs/session.go:374
↓ 2 callers
Function
copyCNPTime
(dst wfscnp.TAI64N, src wfscnp.TAI64N)
src/webfs/session.go:314
↓ 2 callers
Method
decRef
decRef assumes the lock is held
src/webfs/dir.go:195
↓ 2 callers
Method
dropSession
dropSession assumes the lock is held
src/webfs/session.go:49
↓ 2 callers
Function
fileLockRange
(lk *fuse.FileLock)
src/webfsfuse/webfsfuse.go:810
↓ 2 callers
Method
findConflictingLockLocked
(ctx context.Context, ino INode, sessionID inet256.ID, owner uint64, kind LockKind, start, length uint64, have
src/webfs/locks.go:169
↓ 2 callers
Method
getOverlappingExtents
getOverlappingExtents assumes the lock is held. If pending inode edits exist, it flushes them so the range scan sees the current transaction state.
src/webfs/file.go:295
↓ 2 callers
Method
getSessionPrivateKey
(ctx context.Context, sessionID inet256.ID)
src/webfs/session.go:243
↓ 2 callers
Method
incrementSessionLockCount
incrementSessionLockCount assumes lock is held
src/webfs/session.go:195
↓ 2 callers
Function
lockRangeEnd
(start, length uint64)
src/webfs/locks.go:295
↓ 2 callers
Function
newDataMach
(dataSalt [32]byte, hashAlgo blobcache.HashAlgo)
src/webfs/webfs.go:298
↓ 2 callers
Method
newFSTx
(vcfg VolumeConfig, prev FSState, s bcsdk.RW, link Linker)
src/webfs/fstx.go:49
↓ 2 callers
Function
newFileHandle
(n *Node, appendMode bool)
src/webfsfuse/webfsfuse.go:631
↓ 2 callers
Function
newINode
()
src/webfs/models.go:17
↓ 2 callers
Function
newMachines
(fp FSParams)
src/webfs/webfs.go:305
↓ 2 callers
Function
parseDirEntValue
(data []byte)
src/webfs/dir.go:318
↓ 2 callers
Function
parseLockKey
(key []byte)
src/webfs/locks.go:228
↓ 2 callers
Function
parseSession
(data []byte)
src/webfs/session.go:211
↓ 2 callers
Method
readExtent
readExtent call fn with data from the extent readExtent can be called without the read lock
src/webfs/file.go:289
↓ 2 callers
Function
requireSessionExists
(t testing.TB, ctx context.Context, tx *Tx, id inet256.ID)
src/webfs/webfs_test.go:494
↓ 2 callers
Function
requireSessionMissing
(t testing.TB, ctx context.Context, tx *Tx, id inet256.ID)
src/webfs/webfs_test.go:501
↓ 2 callers
Method
sealFS
sealFS takes an FS and signs and encrypts it.
src/webfs/webfs.go:442
↓ 2 callers
Function
setCNP256
(dst wfscnp.UInt256, data []byte)
src/webfs/session.go:367
↓ 2 callers
Method
setlk
(ctx context.Context, owner uint64, lk *fuse.FileLock, flags uint32)
src/webfsfuse/webfsfuse.go:562
↓ 1 callers
Method
CreateDirAt
CreateDirAt creates a new empty directory, and adds it to the parent.
src/webfs/dir.go:36
↓ 1 callers
Method
Dir
()
src/internal/wfscnp/webfs.capnp.go:335
↓ 1 callers
Method
File
()
src/internal/wfscnp/webfs.capnp.go:303
↓ 1 callers
Method
GCSessions
GCSessions deletes sessions whose touchedAt + ttl has elapsed. A ttl of zero is treated as no expiry.
src/webfs/session.go:71
↓ 1 callers
Method
GetModifiedAt
(ctx context.Context, ino INode)
src/webfs/fstx.go:182
↓ 1 callers
Method
HasCreateAt
()
src/internal/wfscnp/webfs.capnp.go:727
↓ 1 callers
Method
HasModifiedAt
()
src/internal/wfscnp/webfs.capnp.go:244
↓ 1 callers
Method
ListXAttrs
(ctx context.Context, ino INode)
src/webfs/xattrs.go:67
↓ 1 callers
Function
Main
()
src/wfscmd/rootcmd.go:24
↓ 1 callers
Method
Marshal
(out []byte)
src/webfs/models.go:46
↓ 1 callers
Method
Mode
()
src/internal/wfscnp/webfs.capnp.go:279
↓ 1 callers
Function
New
(mach *gdat.Machine, marshal bcsdk.Marshaler[T], parser bcsdk.Parser[T], size int)
src/internal/gdatcache/gdatcache.go:18
↓ 1 callers
Function
NewDir
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:445
↓ 1 callers
Method
NewEmpty
(ctx context.Context, txn *bcsdk.Tx, fp FSParams)
src/webfs/webfs.go:203
↓ 1 callers
Function
NewFile
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:510
↓ 1 callers
Method
NewFile
NewFile sets the file field to a newly allocated File struct, preferring placement in s's segment.
src/internal/wfscnp/webfs.capnp.go:325
↓ 1 callers
Function
NewRootLockState
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:819
↓ 1 callers
Function
NewRootSession
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:685
↓ 1 callers
Function
NewVolumeLink
(s *capnp.Segment)
src/internal/wfscnp/webfs.capnp.go:590
↓ 1 callers
Function
ReadRootLockState
(msg *capnp.Message)
src/internal/wfscnp/webfs.capnp.go:824
↓ 1 callers
Function
ReadRootNode
(msg *capnp.Message)
src/internal/wfscnp/webfs.capnp.go:183
↓ 1 callers
Function
ReadRootSession
(msg *capnp.Message)
src/internal/wfscnp/webfs.capnp.go:690
↓ 1 callers
Method
SetBlockSize
(v uint32)
src/internal/wfscnp/webfs.capnp.go:564
↓ 1 callers
Method
SetHolder
(v []byte)
src/internal/wfscnp/webfs.capnp.go:865
↓ 1 callers
Method
SetKind
(v uint16)
src/internal/wfscnp/webfs.capnp.go:873
↓ 1 callers
Method
SetLength
(v uint64)
src/internal/wfscnp/webfs.capnp.go:889
↓ 1 callers
Method
SetModifiedAt
(ctx context.Context, ino INode, t tai64.TAI64N)
src/webfs/fstx.go:196
↓ 1 callers
Method
SetStart
(v uint64)
src/internal/wfscnp/webfs.capnp.go:881
↓ 1 callers
Method
StatINode
(ctx context.Context, ino INode)
src/webfs/fstx.go:172
↓ 1 callers
Method
Unmarshal
(ent gotkv.Entry)
src/webfs/file.go:481
↓ 1 callers
Method
Write
(ctx context.Context, fh fs.FileHandle, data []byte, off int64)
src/webfsfuse/webfsfuse.go:202
↓ 1 callers
Method
addLock
addLock assumes the write lock is held
src/webfs/locks.go:66
↓ 1 callers
Function
copySession
(dst, src wfscnp.Session)
src/webfs/session.go:283
↓ 1 callers
Method
createDir
createDir creates a new dir and returns the INode to it. createDir assumes a write lock.
src/webfs/dir.go:51
↓ 1 callers
Method
createFile
createFile assumes the lock is held
src/webfs/file.go:70
↓ 1 callers
Method
deleteExtent
(ctx context.Context, ino INode, endAt uint64)
src/webfs/file.go:238
↓ 1 callers
Method
deleteLocksForSession
deleteLocksForSession assumes the lock is held
src/webfs/locks.go:140
↓ 1 callers
Method
deleteXAttrs
(ctx context.Context, ino INode)
src/webfs/xattrs.go:108
↓ 1 callers
Function
fileLockToWebfs
(lk *fuse.FileLock)
src/webfsfuse/webfsfuse.go:798
↓ 1 callers
Function
fuseIno
(ino webfs.INode)
src/webfsfuse/webfsfuse.go:716
↓ 1 callers
Function
fuseLockTypeFromWebfs
(kind webfs.LockKind)
src/webfsfuse/webfsfuse.go:847
← previous
next →
101–200 of 416, ranked by callers