Documentation ¶ Index ¶ func CloneToTempDir(t *testing.T, repoName string) string type DiffType type FileDiff func (fd FileDiff) String() string type FileDiffs func CompareDirectories(expectedDir, actualDir string) (FileDiffs, error) func (fds FileDiffs) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CloneToTempDir ¶ func CloneToTempDir(t *testing.T, repoName string) string CloneToTempDir will clone given nestoca repo to a temporary directory and return its absolute path. Types ¶ type DiffType ¶ added in v0.46.2 type DiffType int const ( Missing DiffType = iota Unexpected Different ) type FileDiff ¶ added in v0.46.2 type FileDiff struct { Path string Type DiffType Diff []diffmatchpatch.Diff } func (FileDiff) String ¶ added in v0.46.2 func (fd FileDiff) String() string type FileDiffs ¶ added in v0.46.2 type FileDiffs []FileDiff func CompareDirectories ¶ added in v0.46.2 func CompareDirectories(expectedDir, actualDir string) (FileDiffs, error) func (FileDiffs) String ¶ added in v0.46.2 func (fds FileDiffs) String() string Source Files ¶ View all Source files clone_to_temp_dir.go compare_directories.go Click to show internal directories. Click to hide internal directories.