package internal
import "entgo.io/ent/entc/internal"
Index ¶
Functions ¶
func CheckDir ¶
CheckDir checks the given dir and reports if there are any VCS conflicts.
func IsBuildError ¶
IsBuildError reports if the given error is an error from the Go command (e.g. syntax error).
Types ¶
type Snapshot ¶
Snapshot describes the schema snapshot restore.
func (*Snapshot) Restore ¶
Restore restores the generated package from the latest schema snapshot. If there is a conflict between upstream and local snapshots, it is merged before running the code generation.
Source Files ¶
snapshot.go vcs.go
- Version
- v0.14.4 (latest)
- Published
- Mar 17, 2025
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 1 day ago –
Tools for package owners.