crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
2aa11235
ROOT
/
go
/
store
/
types
/
encode_human_readable.go
Search
History
599 lines
|
ISO-8859-1
|
12 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
HRSCommenter
Comment
(context.Context, Value)
:
string
commenterRegistry
registryLock
:
sync.RWMutex
RegisterHRSCommenter
(typename, unique string, commenter HRSCommenter)
UnregisterHRSCommenter
(typename, unique string)
GetHRSCommenters
(typename string)
:
[]HRSCommenter
hrsWriter
ind
:
int
w
:
io.Writer
lineLength
:
int
floatFormat
:
byte
err
:
error
hexWriter
hrs
:
*hrsWriter
count
:
uint
sizeWritten
:
bool
size
:
uint64
hrsStructWriter
hrsWriter
v
:
Struct
name
(ctx context.Context, n string)
count
(c uint64)
fieldName
(n string)
fieldValue
(ctx context.Context, v Value)
:
error
end
()
encodedValueFormatMaxLines
(ctx context.Context, v Value, floatFormat byte, maxLines uint32)
:
(string, error)
encodedValueFormat
(ctx context.Context, v Value, floatFormat byte)
:
(string, error)
EncodedIndexValue
(ctx context.Context, v Value)
:
(string, error)
EncodedValue
(ctx context.Context, v Value)
:
(string, error)
EncodedValueMaxLines
(ctx context.Context, v Value, maxLines uint32)
:
(string, error)
WriteEncodedValue
(ctx context.Context, w io.Writer, v Value)
:
error
WriteEncodedValueMaxLines
(ctx context.Context, w io.Writer, v Value, maxLines uint32)
:
error
*hrsWriter
maybeWriteIndentation
()
write
(s string)
indent
()
outdent
()
newLine
()
Write
(ctx context.Context, v Value)
:
error
writeStruct
(ctx context.Context, v Struct)
:
error
writeSize
(v Value)
writeType
(t *Type, seenStructs map[*Type]struct{})
writeStructType
(t *Type, seenStructs map[*Type]struct{})
*hexWriter
Write
(p []byte)
:
(n int, err error)
All occurrences
Please wait...
Page is in error, reload to recover