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
↓ 7 callers
Function
New
New returns a store with the file store backed by the provided filename
ops/bolt/bolt.go:42
↓ 7 callers
Function
NewSession
NewSession creates an empty session
client.go:30
↓ 7 callers
Function
PrevOrd
PrevOrd returns the prev ordinal. LessOrd(prev(key), key) is guaranteed to always be true
changes/crdt/ord.go:23
↓ 7 callers
Method
Redo
Redo redoes the last change on this branch. Does nothing if not connected to a undo stack
streams/stream.go:132
↓ 7 callers
Method
Splice
Splice replaces the sub-sequence [offset:offset+remove]
changes/crdt/seq.go:30
↓ 7 callers
Method
Splice
Splice replaces s[offset:offset+count] with the provided insert string value.
streams/s16.go:57
↓ 7 callers
Method
ToUTF16
ToUTF16 converts a regular index to UTF16 offsets
changes/types/string.go:124
↓ 7 callers
Method
Undo
Undo undoes the last change on this branch Does nothing if not connected to a undo stack
streams/stream.go:128
↓ 7 callers
Method
UpdateRef
UpdateRef updates a ref. If r is nil, the reference is deleted. All references should have "Value" as a prefix to the path.
refs/container.go:33
↓ 7 callers
Method
decodeType
(typ reflect.Type, r *bufio.Reader)
ops/sjson/decoder.go:81
↓ 7 callers
Method
mapPoint
(idx int)
changes/move.go:211
↓ 7 callers
Method
must
(err error)
x/snapshot/snapshot.go:132
↓ 7 callers
Method
splitRuns
(runs []changes.Change, idx int)
changes/run/run.go:195
↓ 7 callers
Function
validateMergeResults1
(t *testing.T, l, r, lexpected, rexpected changes.Change)
changes/path_test.go:164
↓ 7 callers
Function
valuesForMySliceStream
()
x/dotc/testdata/myslice/input_test.go:3
↓ 7 callers
Method
withDest
(dest int)
changes/move.go:228
↓ 6 callers
Method
Apply
Apply only accepts one type of change: one that Replace's the value.
changes/atomic.go:15
↓ 6 callers
Method
Apply
Apply implements changes.Value:Apply
changes/table/sparse.go:124
↓ 6 callers
Method
FromUTF16
FromUTF16 converts an UTF16 offset into a regular string offset It panics if the UTF16 offset lies within a UTF32 character
changes/types/string.go:109
↓ 6 callers
Method
InsertString
InsertString inserts a string at the current selection
x/rich/riched/stream.go:59
↓ 6 callers
Method
IsDelete
IsDelete identifies if the change is a delete
changes/replace.go:62
↓ 6 callers
Function
Merge
Merge is effectively c1.Merge(c2) except that c1 can be nil. As with individual merge implementations, applying c1+c1x is effectively the same as app
changes/changes.go:272
↓ 6 callers
Function
New
New returns a store connected to the provided data stource
ops/pg/pg.go:48
↓ 6 callers
Function
New
New returns a new stream with undo/redo capabilities
streams/undo/stream.go:13
↓ 6 callers
Function
Parse
Parse converts an expression into the corresponding AST The result is not yet evaluated, and needs a call to Eval to work.
x/rich/eval/parse.go:19
↓ 6 callers
Function
Setup
Setup creates the tables and indices
ops/pg/pg.go:110
↓ 6 callers
Method
Slice
Slice implements changes.Collection.Slice
changes/types/array.go:16
↓ 6 callers
Function
Stream
Stream converts an ops Store into a stream. Calling Append() on the Stream is asynchronously appended to the Store and remote changes are also automa
ops/sync/sync.go:28
↓ 6 callers
Method
Update
(val *bool)
x/dotc/testdata/myslice/input.go:23
↓ 6 callers
Method
Update
Update replaces the current value with the new value
x/dotc/testdata/myunion/generated.go:158
↓ 6 callers
Method
Update
Update replaces the current value with the new value
x/dotc/testdata/myunion/generated2.go:158
↓ 6 callers
Method
append
(c changes.Change)
x/rich/riched/stream.go:63
↓ 6 callers
Function
change
(x, y changeable)
changes/changes.go:260
↓ 6 callers
Function
fromString
(s string)
changes/crdt/ord.go:41
↓ 6 callers
Function
latest
(s streams.Stream)
streams/undo/undo_test.go:229
↓ 6 callers
Function
logErrorContext
(e error, code string)
x/dotc/struct_test.go:47
↓ 6 callers
Method
split
(start, end int)
x/rich/setattr.go:180
↓ 5 callers
Method
Equal
Equal impements Ref.Equal
refs/caret.go:90
↓ 5 callers
Method
Generate
Generate implements the helper methods for the provided types
x/dotc/info.go:28
↓ 5 callers
Method
Increment
Increment returns a change which implements the increment operation.
changes/types/counter.go:51
↓ 5 callers
Method
Latest
Latest returns the latest entry in the stream
x/dotc/testdata/mystruct/generated3.go:92
↓ 5 callers
Method
Latest
Latest returns the latest entry in the stream
x/dotc/testdata/mystruct/generated.go:92
↓ 5 callers
Method
Latest
Latest returns the latest entry in the stream
x/dotc/testdata/mystruct/generated2.go:92
↓ 5 callers
Method
Latest
Latest returns the latest entry in the stream
x/dotc/testdata/myunion/generated.go:150
↓ 5 callers
Method
Latest
Latest returns the latest entry in the stream
x/dotc/testdata/myunion/generated2.go:150
↓ 5 callers
Function
Merge
Merge merges a path with a change. If the path is invalidated, it returns nil. Otherwise, it returns the updated path. The version of the change that
refs/path.go:59
↓ 5 callers
Function
New
New returns a new stream with a "folded" change. This change is not applied onto the base stream but held back. Any further changes on the underlying
x/fold/fold.go:32
↓ 5 callers
Function
NewStream
NewStream creates a new stream out of a rich text value
x/rich/riched/stream.go:26
↓ 5 callers
Method
Next
Next returns the next entry in the stream if there is one
x/dotc/testdata/myslice/generated.go:311
↓ 5 callers
Method
Next
Next returns the next entry in the stream if there is one
x/dotc/testdata/myslice/generated.go:371
↓ 5 callers
Method
Next
Next returns the next entry in the stream if there is one
x/dotc/testdata/myslice/generated.go:431
↓ 5 callers
Method
Next
Next returns the next entry in the stream if there is one
x/dotc/testdata/myslice/generated.go:491
↓ 5 callers
Method
Next
Next returns the next entry in the stream if there is one
x/dotc/testdata/myslice/generated.go:551
↓ 5 callers
Method
Next
Next returns the next entry in the stream if there is one
x/dotc/testdata/myslice/generated.go:611
↓ 5 callers
Method
Next
Next returns the next entry in the stream if there is one
x/dotc/testdata/mystruct/generated3.go:75
↓ 5 callers
Method
Next
Next returns the next entry in the stream if there is one
x/dotc/testdata/mystruct/generated.go:75
↓ 5 callers
Method
Next
Next returns the next entry in the stream if there is one
x/dotc/testdata/mystruct/generated2.go:75
↓ 5 callers
Method
Next
Next returns the next entry in the stream if there is one
x/dotc/testdata/myunion/generated.go:133
↓ 5 callers
Method
Next
Next returns the next entry in the stream if there is one
x/dotc/testdata/myunion/generated2.go:133
↓ 5 callers
Method
Next
Next returns the next if there is one.
streams/bool.go:16
↓ 5 callers
Method
Next
Next returns the next if there is one.
streams/int.go:16
↓ 5 callers
Method
Next
Next returns the next if there is one.
streams/counter.go:19
↓ 5 callers
Method
Next
Next returns the next if there is one.
streams/s16.go:19
↓ 5 callers
Method
Next
Next returns the next if there is one.
streams/s8.go:19
↓ 5 callers
Method
Printf
(fmt string, v ...interface{})
log/log.go:15
↓ 5 callers
Method
Slice
Slice returns a text within the specified range
x/rich/text.go:57
↓ 5 callers
Method
Stream
Stream returns the stream of changes for this session The returned store can be used to *close* the stream when needed Actual syncing of messages ha
client.go:43
↓ 5 callers
Method
UpdateCell
UpdateCell updates the value of a cell (which need not exist)
changes/table/sparse.go:61
↓ 5 callers
Method
WithChanges
WithChanges creates a new operation with the same metadata as the current but with a different set of changes.
ops/op.go:73
↓ 5 callers
Method
contains
(idx int)
changes/move.go:236
↓ 5 callers
Method
count
()
x/rich/values.go:19
↓ 5 callers
Function
decode
(s string)
ops/sjson/sjson_test.go:28
↓ 5 callers
Function
encode
(v interface{})
ops/sjson/sjson_test.go:20
↓ 5 callers
Function
next
next blocks until there is a next and returns that value
ops/sync/sync_test.go:179
↓ 5 callers
Function
validateMerge1
(t *testing.T, initial changes.Value, l, r changes.Change)
changes/run/run_test.go:197
↓ 5 callers
Function
valuesForMySlicePStream
()
x/dotc/testdata/myslice/input_test.go:12
↓ 5 callers
Function
valuesForMyStructStream
()
x/dotc/testdata/mystruct/input_test.go:67
↓ 5 callers
Function
valuesFormyStructStream
()
x/dotc/testdata/mystruct/input_test.go:5
↓ 5 callers
Function
valuesFormyStructpStream
()
x/dotc/testdata/mystruct/input_test.go:36
↓ 5 callers
Function
valuesFormyUnionStream
()
x/dotc/testdata/myunion/input_test.go:7
↓ 5 callers
Function
valuesFormyUnionpStream
()
x/dotc/testdata/myunion/input_test.go:38
↓ 4 callers
Method
AppendCol
AppendCol adds a new column to the end of the sorted list. The column can already exist in which case it is simply moved.
x/rich/data/table.go:97
↓ 4 callers
Method
AppendRow
AppendRow adds a new row to the end of the sorted list. The row can already exist in which case it is simply moved.
x/rich/data/table.go:144
↓ 4 callers
Method
Apply
(ctx changes.Context, c changes.Change)
x/dotc/testdata/mystruct/generated3.go:40
↓ 4 callers
Method
Apply
(ctx changes.Context, c changes.Change)
x/dotc/testdata/mystruct/generated.go:40
↓ 4 callers
Method
Apply
(ctx changes.Context, c changes.Change)
x/dotc/testdata/mystruct/generated2.go:40
↓ 4 callers
Method
Apply
Apply implements channges.Value
x/rich/data/dir.go:25
↓ 4 callers
Method
Apply
Apply implements changes.Value.
x/rich/data/image.go:24
↓ 4 callers
Method
Apply
Apply implements changes.Value.
x/rich/data/link.go:24
↓ 4 callers
Method
Apply
Apply implements changes.Value.
x/rich/data/heading.go:27
↓ 4 callers
Method
Apply
Apply implements changes.Value.
x/rich/data/list.go:29
↓ 4 callers
Function
BoltServer
BoltServer returns a http.Handler serving DOT requests backed by the db
server.go:20
↓ 4 callers
Method
Cell
Cell returns the value at a given cell position. The bool return value indicates if the element exists or not
changes/table/sparse.go:56
↓ 4 callers
Method
Clone
Clone duplicates the whole container
changes/crdt/container.go:65
↓ 4 callers
Function
CloseServer
CloseServer closes the http.Handler returned by this package
server.go:42
↓ 4 callers
Function
Default
Default returns a default logger that does not print anything
log/log.go:21
↓ 4 callers
Method
Equal
Equal implements Ref.Equal
refs/range.go:53
↓ 4 callers
Function
ForEachChange
(replacement changes.Collection, fn func(initial changes.Value, c changes.Change))
changes/convergence_test.go:58
↓ 4 callers
Method
GenerateTests
GenerateTests generates the tests
x/dotc/info.go:85
↓ 4 callers
Method
InsertColBefore
InsertColBefore inserts a new column before another The column may already exist in which case it is simply moved
x/rich/data/table.go:111
← previous
next →
101–200 of 1,359, ranked by callers