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
2e4d56cf
ROOT
/
go
/
store
/
marshal
/
encode.go
Search
History
773 lines
|
ISO-8859-1
|
21 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Marshal
(ctx context.Context, vrw types.ValueReadWriter, v interface{})
:
(types.Value, error)
MarshalOpt
(ctx context.Context, vrw types.ValueReadWriter, v interface{}, opt Opt)
:
(nomsValue types.Value, err error)
marshalOpt
(ctx context.Context, vrw types.ValueReadWriter, v interface{}, opt Opt)
:
(types.Value, error)
Marshaler
MarshalNoms
(vrw types.ValueReadWriter)
:
(val types.Value, err error)
StructNameMarshaler
MarshalNomsStructName
()
:
string
UnsupportedTypeError
Type
:
reflect.Type
Message
:
string
InvalidTagError
message
:
string
marshalNomsError
err
:
error
Opt
Set
:
bool
nomsTags
name
:
string
omitEmpty
:
bool
original
:
bool
set
:
bool
skip
:
bool
hasName
:
bool
nomsValueInterface
emptyInterface
marshalerInterface
structNameMarshalerInterface
encoderFunc
boolEncoder
(ctx context.Context, v reflect.Value, vrw types.ValueReadWriter)
:
(types.Value, error)
float64Encoder
(ctx context.Context, v reflect.Value, vrw types.ValueReadWriter)
:
(types.Value, error)
intEncoder
(ctx context.Context, v reflect.Value, vrw types.ValueReadWriter)
:
(types.Value, error)
uintEncoder
(ctx context.Context, v reflect.Value, vrw types.ValueReadWriter)
:
(types.Value, error)
stringEncoder
(ctx context.Context, v reflect.Value, vrw types.ValueReadWriter)
:
(types.Value, error)
nomsValueEncoder
(ctx context.Context, v reflect.Value, vrw types.ValueReadWriter)
:
(types.Value, error)
marshalerEncoder
(t reflect.Type)
:
encoderFunc
typeEncoder
(nbf *types.NomsBinFormat, t reflect.Type, seenStructs map[string]reflect.Type, tags nomsTags)
:
(encoderFunc, error)
getStructName
(t reflect.Type)
:
string
structEncoder
(nbf *types.NomsBinFormat, t reflect.Type, seenStructs map[string]reflect.Type)
:
(encoderFunc, error)
isEmptyValue
(v reflect.Value)
:
bool
field
name
:
string
encoder
:
encoderFunc
index
:
[]int
nomsType
:
*types.Type
omitEmpty
:
bool
fieldSlice
Len
()
:
int
Swap
(i, j int)
Less
(i, j int)
:
bool
encoderCacheT
sync.RWMutex
m
:
map[reflect.Type]encoderFunc
encoderCache
setEncoderCache
getTags
(f reflect.StructField)
:
(tags nomsTags, err error)
validateField
(f reflect.StructField, t reflect.Type)
:
error
typeFields
(nbf *types.NomsBinFormat, t reflect.Type, seenStructs map[string]reflect.Type, computeType, embedded bool)
:
(fields fieldSlice, knownShape bool, originalFieldIndex []int, err error)
listEncoder
(nbf *types.NomsBinFormat, t reflect.Type, seenStructs map[string]reflect.Type)
:
(encoderFunc, error)
setFromListEncoder
(nbf *types.NomsBinFormat, t reflect.Type, seenStructs map[string]reflect.Type)
:
(encoderFunc, error)
setEncoder
(nbf *types.NomsBinFormat, t reflect.Type, seenStructs map[string]reflect.Type)
:
(encoderFunc, error)
mapEncoder
(nbf *types.NomsBinFormat, t reflect.Type, seenStructs map[string]reflect.Type)
:
(encoderFunc, error)
shouldEncodeAsSet
(t reflect.Type, tags nomsTags)
:
bool
*UnsupportedTypeError
Error
()
:
string
*InvalidTagError
Error
()
:
string
*marshalNomsError
Error
()
:
string
*encoderCacheT
get
(t reflect.Type)
:
encoderFunc
set
(t reflect.Type, e encoderFunc)
All occurrences
Please wait...
Page is in error, reload to recover