Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dotchain/dot
/ functions
Functions
1,359 in github.com/dotchain/dot
⨍
Functions
1,359
◇
Types & classes
213
↓ 1 callers
Method
MergeReplace
MergeReplace merges against another Replace change. The last writer wins here with the receiver assumed to be the earlier change
changes/replace.go:21
↓ 1 callers
Method
MergeReplace
MergeReplace merges a move against a Replace. The replace always wins
changes/splice.go:20
↓ 1 callers
Method
MergeReplace
MergeReplace merges a move against a Replace. The replace always wins
changes/move.go:20
↓ 1 callers
Method
MergeSplice
MergeSplice merges against a Splice change. The replace wins
changes/replace.go:31
↓ 1 callers
Method
MergeSplice
MergeSplice merges a splice against another Splice.
changes/splice.go:26
↓ 1 callers
Method
MergeSplice
MergeSplice merges a splice with a move.
changes/move.go:26
↓ 1 callers
Function
MetaValue
MetaValue fetches the meta value and the previous context associated with the current change context.
changes/meta.go:46
↓ 1 callers
Method
Move
Move moves[offset:offset+count] by the provided distance to the right (or if distance is negative, to the left)
streams/s16.go:68
↓ 1 callers
Method
Move
Move moves[offset:offset+count] by the provided distance to the right (or if distance is negative, to the left)
streams/s8.go:67
↓ 1 callers
Function
NewContainer
NewContainer wraps the value and refs into a Container
refs/container.go:22
↓ 1 callers
Function
NewSession
NewSession creates a new session
stress/session.go:48
↓ 1 callers
Function
PostgresServer
PostgresServer returns a http.Handler serving DOT requests backed by the db
server.go:28
↓ 1 callers
Method
Range
(initial string, offset, count int, attribute string)
test/seqtest/seqtest.go:58
↓ 1 callers
Function
Reliable
Reliable is used by Stream() to work with a reliable store. Reliable takes a store that can fail and converts it to a reliable store. All Append() ca
ops/sync/reliable.go:26
↓ 1 callers
Method
RemoveAttribute
RemoveAttribute returns a change which when applied would remove the named attributes in the range [offset, offset+count]
x/rich/text.go:94
↓ 1 callers
Method
ReverseMerge
ReverseMerge implements but with receiver and arg interchanged.
changes/path.go:35
↓ 1 callers
Method
ReverseMerge
ReverseMerge is like merge except with receiver and args inverted
changes/changes.go:192
↓ 1 callers
Method
Revert
Revert inverts the effect of the splice.
changes/splice.go:15
↓ 1 callers
Function
S16
S16 computes the diff between two types.S9 values
changes/diff/string.go:42
↓ 1 callers
Function
S8
S8 computes the diff between two types.S9 values
changes/diff/string.go:14
↓ 1 callers
Method
Save
Save updates the snapshot with changes
x/snapshot/snapshot.go:49
↓ 1 callers
Function
SaveSession
(s *dot.Session, todos TodoList)
example/todo.go:119
↓ 1 callers
Function
SavedSession
()
example/todo.go:125
↓ 1 callers
Function
Server
()
example/todo.go:14
↓ 1 callers
Method
SetCount
(value int32)
x/dotc/testdata/mystruct/generated3.go:62
↓ 1 callers
Method
Update
Update replaces the current value with the new value
example/generated.go:80
↓ 1 callers
Method
Update
Update replaces the current value with the new value
x/dotc/testdata/myslice/generated.go:336
↓ 1 callers
Method
Update
Update replaces the current value with the new value
x/dotc/testdata/myslice/generated.go:396
↓ 1 callers
Method
Update
Update replaces the current value with the new value
x/dotc/testdata/myslice/generated.go:456
↓ 1 callers
Method
Update
Update replaces the current value with the new value
x/dotc/testdata/myslice/generated.go:516
↓ 1 callers
Method
Update
Update replaces the current value with the new value
x/dotc/testdata/myslice/generated.go:576
↓ 1 callers
Method
Update
Update replaces the current value with the new value
x/dotc/testdata/myslice/generated.go:636
↓ 1 callers
Method
Update
Update replaces the current value with the new value
x/dotc/testdata/mystruct/generated3.go:100
↓ 1 callers
Method
Update
Update replaces the current value with the new value
x/dotc/testdata/mystruct/generated.go:100
↓ 1 callers
Method
Update
Update replaces the current value with the new value
x/dotc/testdata/mystruct/generated2.go:100
↓ 1 callers
Method
Update
Update takes a change meant for the value at a specific index and wraps it so that it can applied on the Seq
changes/crdt/seq.go:70
↓ 1 callers
Method
Update
Update takes a change meant for the value at the provided key and wraps it so that it can applied on the dict
changes/crdt/dict.go:35
↓ 1 callers
Method
Update
Update replaces the current value with the new value
streams/bool.go:48
↓ 1 callers
Method
Update
Update replaces the current value with the new value
streams/int.go:48
↓ 1 callers
Method
Update
Update replaces the current value with the new value
streams/counter.go:49
↓ 1 callers
Method
Update
Update replaces the current value with the new value
streams/s16.go:45
↓ 1 callers
Method
UpdateCellValue
UpdateCellValue takes a change meant for a cell value and wraps it with the path of the column -- the resulting change can be applied directly on the
x/rich/data/table.go:76
↓ 1 callers
Method
UpdateCol
UpdateCol takes a change meant for a columm value and wraps it with the path of the column -- the resulting change can be applied directly on the tabl
x/rich/data/table.go:65
↓ 1 callers
Method
addPathPrefix
(other []interface{})
refs/refs.go:104
↓ 1 callers
Method
appendChange
(c changes.Change)
ops/sync/session.go:37
↓ 1 callers
Method
applyNonText
(ctx changes.Context, c changes.PathChange)
x/rich/riched/editor.go:84
↓ 1 callers
Method
applyPathChange
(ctx changes.Context, c changes.PathChange)
refs/container.go:80
↓ 1 callers
Method
applySetAttr
(c setattr)
x/rich/text.go:144
↓ 1 callers
Method
applyText
(ctx changes.Context, c changes.PathChange)
x/rich/riched/editor.go:68
↓ 1 callers
Method
broadcast
()
ops/pg/pg.go:260
↓ 1 callers
Method
call
(ctx context.Context, r *request, ct string, body []byte)
ops/nw/client.go:31
↓ 1 callers
Function
callObject
(args changes.Value, offset int)
x/rich/eval/parse.go:104
↓ 1 callers
Method
commonPrefixLen
(a, b []interface{})
changes/path.go:125
↓ 1 callers
Method
decode
(data []byte)
ops/pg/pg.go:248
↓ 1 callers
Method
decode
(data []byte)
ops/bolt/bolt.go:160
↓ 1 callers
Method
decodeArray
(typ reflect.Type, r *bufio.Reader)
ops/sjson/decoder.go:148
↓ 1 callers
Method
decodeBoolValue
(typ reflect.Type, r *bufio.Reader)
ops/sjson/decoder.go:214
↓ 1 callers
Method
decodeFloatValue
(typ reflect.Type, r *bufio.Reader)
ops/sjson/decoder.go:241
↓ 1 callers
Method
decodeIntValue
(typ reflect.Type, r *bufio.Reader)
ops/sjson/decoder.go:224
↓ 1 callers
Method
decodeMap
(typ reflect.Type, r *bufio.Reader)
ops/sjson/decoder.go:165
↓ 1 callers
Method
decodePtr
(typ reflect.Type, r *bufio.Reader)
ops/sjson/decoder.go:117
↓ 1 callers
Method
decodeSlice
(typ reflect.Type, r *bufio.Reader)
ops/sjson/decoder.go:127
↓ 1 callers
Method
decodeStringValue
(typ reflect.Type, r *bufio.Reader)
ops/sjson/decoder.go:231
↓ 1 callers
Method
decodeStruct
(typ reflect.Type, r *bufio.Reader)
ops/sjson/decoder.go:190
↓ 1 callers
Method
decodeTimeValue
(typ reflect.Type, r *bufio.Reader)
ops/sjson/decoder.go:235
↓ 1 callers
Method
decodeUintValue
(typ reflect.Type, r *bufio.Reader)
ops/sjson/decoder.go:227
↓ 1 callers
Method
deliver
(pending []ops.Op)
ops/sync/reliable.go:79
↓ 1 callers
Function
dot
(s Scope, receiver, field changes.Value)
x/rich/eval/callable.go:111
↓ 1 callers
Function
dumpCallStack
()
x/snapshot/bolt_test.go:31
↓ 1 callers
Method
encode
(op ops.Op)
ops/pg/pg.go:231
↓ 1 callers
Method
encode
(op ops.Op)
ops/bolt/bolt.go:143
↓ 1 callers
Method
encodeBoolValue
(b bool, w *bufio.Writer)
ops/sjson/encoder.go:161
↓ 1 callers
Method
encodeIntValue
(i int64, w *bufio.Writer)
ops/sjson/encoder.go:166
↓ 1 callers
Method
encodeMapValue
(v reflect.Value, w *bufio.Writer)
ops/sjson/encoder.go:139
↓ 1 callers
Method
encodePtrValue
(v reflect.Value, w *bufio.Writer)
ops/sjson/encoder.go:79
↓ 1 callers
Method
encodeSliceValue
(v reflect.Value, w *bufio.Writer)
ops/sjson/encoder.go:87
↓ 1 callers
Method
encodeStructValue
(v reflect.Value, w *bufio.Writer)
ops/sjson/encoder.go:110
↓ 1 callers
Method
encodeUintValue
(ui uint64, w *bufio.Writer)
ops/sjson/encoder.go:171
↓ 1 callers
Function
evalObject
(s Scope, v types.M)
x/rich/eval/eval.go:125
↓ 1 callers
Method
fail
(offset int, message string)
x/rich/eval/parser.go:213
↓ 1 callers
Method
fetch
(ctx context.Context, version, limit int)
ops/sync/nonblocking.go:47
↓ 1 callers
Method
forEachCol
(key func(interface{}) interface{}, fn func(colID interface{}))
changes/table/sparse.go:185
↓ 1 callers
Method
forEachRow
(key func(interface{}) interface{}, fn func(rowID interface{}))
changes/table/sparse.go:173
↓ 1 callers
Function
formatBlockQuote
(b *strings.Builder, bq data.BlockQuote, f Formatter)
x/rich/html/format.go:68
↓ 1 callers
Function
formatChangeSet
(path []interface{}, c changes.ChangeSet, prefix string)
x/cmd/dotls/dotls.go:112
↓ 1 callers
Function
formatDir
(b *strings.Builder, d *data.Dir, f Formatter)
x/rich/html/format.go:116
↓ 1 callers
Function
formatHeading
(b *strings.Builder, h data.Heading, f Formatter)
x/rich/html/format.go:74
↓ 1 callers
Function
formatImage
(b *strings.Builder, i data.Image)
x/rich/html/format.go:88
↓ 1 callers
Function
formatLink
(b *strings.Builder, l data.Link, f Formatter)
x/rich/html/format.go:60
↓ 1 callers
Function
formatReplace
(path []interface{}, c changes.Replace, prefix string)
x/cmd/dotls/dotls.go:142
↓ 1 callers
Function
formatRichText
(b *strings.Builder, t *rich.Text, f Formatter)
x/rich/html/format.go:159
↓ 1 callers
Function
formatSplice
(path []interface{}, c changes.Splice, prefix string)
x/cmd/dotls/dotls.go:125
↓ 1 callers
Function
formatTable
(b *strings.Builder, t *data.Table, f Formatter)
x/rich/html/format.go:131
↓ 1 callers
Method
getMergeChain
getMergeChain gets the merge chain for the op and transforms the current op against that to get the updated current op as well as its merge chain
ops/transformer.go:128
↓ 1 callers
Method
getRedoChange
()
streams/undo/stack.go:82
↓ 1 callers
Method
getUndoChange
()
streams/undo/stack.go:65
↓ 1 callers
Function
ignore
(err error)
ops/nw/nw_test.go:148
↓ 1 callers
Method
init
(name string)
ops/pg/pg.go:57
↓ 1 callers
Function
inlineOpen
(b *strings.Builder, v changes.Value)
x/rich/html/format.go:191
↓ 1 callers
Method
join
(o *MergeResult)
refs/refs.go:63
← previous
next →
501–600 of 1,359, ranked by callers