Documentation
¶
Index ¶
- func ApplyOverrides(scheme *types.TLFullScheme) int
- func FixFieldNames(scheme *types.TLFullScheme) int
- func FixNamespaces(scheme *types.TLFullScheme, previous ...*types.TLFullScheme) int
- func GetDiffs(old, new *types.TLFullScheme) *types.TLFullDifferences
- func GetE2EScheme() (*types.TLRemoteScheme, error)
- func GetScheme(branch string) (*types.TLRemoteScheme, error)
- func GetStats(diffs *types.TLFullDifferences) types.DifferenceStats
- func GetTDLibScheme() (*types.TLRemoteScheme, error)
- func KeepObjects(scheme, published *types.TLFullScheme, ids map[string]bool) int
- func ParseConstructor(constructor string) string
- func ParseTLScheme(rawScheme string) (*types.TLRemoteScheme, error)
- func RemoveObjects(scheme *types.TLFullScheme, ids map[string]bool) int
- func ReverseConstructor(hexString string) string
- func ToString(scheme types.TLSchemeInterface, layer int, withComments bool) string
- type Client
- func (ctx *Client) InvalidateCaches()
- func (ctx *Client) MergeRemote(remoteScheme *types.TLRemoteScheme, patchOs types.PatchOS, ...) (*types.TLFullScheme, error)
- func (ctx *Client) MergeSmartUpstream(rawScheme *types.RawTLScheme, patchOs types.PatchOS, branch string) (*types.TLFullScheme, error)
- func (ctx *Client) MergeUpstream(rawScheme *types.RawTLScheme, patchOs types.PatchOS, remoteOrder bool, ...) (*types.TLFullScheme, error)
- func (ctx *Client) RefreshReleasedLayers() (latestVersion int, forceNoUpdate bool, err error)
- func (ctx *Client) UpdateUpstreamCache(source string, localScheme *types.TLRemoteScheme, branch string) error
- type Problem
- type TLFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyOverrides ¶
func ApplyOverrides(scheme *types.TLFullScheme) int
func FixFieldNames ¶
func FixFieldNames(scheme *types.TLFullScheme) int
func FixNamespaces ¶
func FixNamespaces(scheme *types.TLFullScheme, previous ...*types.TLFullScheme) int
func GetDiffs ¶
func GetDiffs(old, new *types.TLFullScheme) *types.TLFullDifferences
func GetE2EScheme ¶
func GetE2EScheme() (*types.TLRemoteScheme, error)
func GetStats ¶
func GetStats(diffs *types.TLFullDifferences) types.DifferenceStats
func GetTDLibScheme ¶
func GetTDLibScheme() (*types.TLRemoteScheme, error)
func KeepObjects ¶
func KeepObjects(scheme, published *types.TLFullScheme, ids map[string]bool) int
func ParseConstructor ¶
func ParseTLScheme ¶
func ParseTLScheme(rawScheme string) (*types.TLRemoteScheme, error)
func RemoveObjects ¶
func RemoveObjects(scheme *types.TLFullScheme, ids map[string]bool) int
func ReverseConstructor ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) InvalidateCaches ¶
func (ctx *Client) InvalidateCaches()
func (*Client) MergeRemote ¶
func (ctx *Client) MergeRemote(remoteScheme *types.TLRemoteScheme, patchOs types.PatchOS, isSync, remoteOrder bool, upstream func(isE2E bool) (*types.TLRemoteScheme, error)) (*types.TLFullScheme, error)
func (*Client) MergeSmartUpstream ¶
func (ctx *Client) MergeSmartUpstream(rawScheme *types.RawTLScheme, patchOs types.PatchOS, branch string) (*types.TLFullScheme, error)
func (*Client) MergeUpstream ¶
func (ctx *Client) MergeUpstream(rawScheme *types.RawTLScheme, patchOs types.PatchOS, remoteOrder bool, upstream func(isE2E bool) (*types.TLRemoteScheme, error)) (*types.TLFullScheme, error)
func (*Client) RefreshReleasedLayers ¶
func (*Client) UpdateUpstreamCache ¶
type Problem ¶
func FatalProblems ¶
func Validate ¶
func Validate(scheme *types.TLFullScheme) []Problem
func ValidateFiles ¶
Source Files
¶
- apply_overrides.go
- canonicalize_types.go
- context.go
- filter_objects.go
- fix_deprecations.go
- fix_field_names.go
- fix_namespaces.go
- get_diffs.go
- get_e2e_scheme.go
- get_objs_diffs.go
- get_scheme.go
- get_scheme_diffs.go
- get_scheme_stats.go
- get_stats.go
- get_tdlib_scheme.go
- invalidate_caches.go
- keep_objects.go
- merge_objects.go
- merge_remote.go
- merge_schemes.go
- merge_smart_upstream.go
- merge_upstream.go
- new_from_raw.go
- parse_constructor.go
- parse_tl_scheme.go
- patch_set.go
- released_layers.go
- remove_objects.go
- restore_parameter_names.go
- reverse_constructor.go
- to_string.go
- to_string_objects.go
- update_upstream_cache.go
- validate.go
Click to show internal directories.
Click to hide internal directories.