SYMBOL INDEX (2141 symbols across 279 files) FILE: assets/chezmoi.io/docs/hooks.py function on_pre_build (line 28) | def on_pre_build(config: MkDocsConfig, **kwargs) -> None: function on_files (line 41) | def on_files(files: Files, config: MkDocsConfig, **kwargs) -> Files: function on_post_build (line 56) | def on_post_build(config: MkDocsConfig, **kwargs) -> None: FILE: assets/chezmoi.io/docs/reference/commands/commands_test.go function TestFS (line 9) | func TestFS(t *testing.T) { FILE: assets/scripts/format-yaml.py function main (line 11) | def main() -> int: FILE: internal/archivetest/archivetest.go type Dir (line 9) | type Dir struct type File (line 15) | type File struct type Symlink (line 21) | type Symlink struct FILE: internal/archivetest/tar.go function NewTar (line 13) | func NewTar(root map[string]any) ([]byte, error) { function tarAddEntry (line 27) | func tarAddEntry(w *tar.Writer, name string, entry any) error { FILE: internal/archivetest/tar_test.go function TestNewTar (line 12) | func TestNewTar(t *testing.T) { FILE: internal/archivetest/zip.go function NewZip (line 13) | func NewZip(root map[string]any) ([]byte, error) { function zipAddEntry (line 27) | func zipAddEntry(w *zip.Writer, name string, entry any) error { function zipAddEntryDir (line 46) | func zipAddEntryDir(w *zip.Writer, name string, perm fs.FileMode, entrie... function zipAddEntryFile (line 62) | func zipAddEntryFile(w *zip.Writer, name string, data []byte, perm fs.Fi... function zipAddEntrySymlink (line 77) | func zipAddEntrySymlink(w *zip.Writer, name string, target []byte) error { FILE: internal/archivetest/zip_test.go function TestNewZip (line 12) | func TestNewZip(t *testing.T) { FILE: internal/chezmoi/abspath.go type AbsPath (line 20) | type AbsPath method Append (line 28) | func (p AbsPath) Append(s string) AbsPath { method Base (line 33) | func (p AbsPath) Base() string { method Bytes (line 38) | func (p AbsPath) Bytes() []byte { method Dir (line 43) | func (p AbsPath) Dir() AbsPath { method IsEmpty (line 48) | func (p AbsPath) IsEmpty() bool { method Ext (line 53) | func (p AbsPath) Ext() string { method HasDirPrefix (line 58) | func (p AbsPath) HasDirPrefix(prefix AbsPath) bool { method Join (line 68) | func (p AbsPath) Join(relPaths ...RelPath) AbsPath { method JoinString (line 78) | func (p AbsPath) JoinString(ss ...string) AbsPath { method Len (line 86) | func (p AbsPath) Len() int { method MustTrimDirPrefix (line 91) | func (p AbsPath) MustTrimDirPrefix(dirPrefix AbsPath) RelPath { method Set (line 100) | func (p *AbsPath) Set(s string) error { method Split (line 118) | func (p AbsPath) Split() (AbsPath, RelPath) { method String (line 123) | func (p AbsPath) String() string { method ToSlash (line 128) | func (p AbsPath) ToSlash() AbsPath { method TrimDirPrefix (line 133) | func (p AbsPath) TrimDirPrefix(dirPrefixAbsPath AbsPath) (RelPath, err... method TrimSuffix (line 148) | func (p AbsPath) TrimSuffix(suffix string) AbsPath { method Type (line 153) | func (p AbsPath) Type() string { method WithTrailingSlash (line 158) | func (p AbsPath) WithTrailingSlash() AbsPath { function NewAbsPath (line 23) | func NewAbsPath(absPath string) AbsPath { function HomeDirAbsPath (line 166) | func HomeDirAbsPath() (AbsPath, error) { function StringToAbsPathHookFunc (line 181) | func StringToAbsPathHookFunc() mapstructure.DecodeHookFunc { FILE: internal/chezmoi/abspath_test.go function TestNewAbsPathFromExtPath (line 14) | func TestNewAbsPathFromExtPath(t *testing.T) { function TestAbsPathJoin (line 66) | func TestAbsPathJoin(t *testing.T) { FILE: internal/chezmoi/actualstateentry.go type ActualStateEntry (line 12) | type ActualStateEntry interface type ActualStateAbsent (line 21) | type ActualStateAbsent struct method EntryState (line 92) | func (s *ActualStateAbsent) EntryState() (*EntryState, error) { method IsExternal (line 99) | func (s *ActualStateAbsent) IsExternal() bool { method Path (line 104) | func (s *ActualStateAbsent) Path() AbsPath { method Remove (line 109) | func (s *ActualStateAbsent) Remove(system System) error { method OriginString (line 114) | func (s *ActualStateAbsent) OriginString() string { type ActualStateDir (line 26) | type ActualStateDir struct method EntryState (line 119) | func (s *ActualStateDir) EntryState() (*EntryState, error) { method IsExternal (line 127) | func (s *ActualStateDir) IsExternal() bool { method Path (line 132) | func (s *ActualStateDir) Path() AbsPath { method Remove (line 137) | func (s *ActualStateDir) Remove(system System) error { method OriginString (line 142) | func (s *ActualStateDir) OriginString() string { type ActualStateFile (line 32) | type ActualStateFile struct method Contents (line 147) | func (s *ActualStateFile) Contents() ([]byte, error) { method EntryState (line 152) | func (s *ActualStateFile) EntryState() (*EntryState, error) { method IsExternal (line 167) | func (s *ActualStateFile) IsExternal() bool { method Path (line 172) | func (s *ActualStateFile) Path() AbsPath { method Perm (line 177) | func (s *ActualStateFile) Perm() fs.FileMode { method Remove (line 182) | func (s *ActualStateFile) Remove(system System) error { method OriginString (line 187) | func (s *ActualStateFile) OriginString() string { type ActualStateSymlink (line 39) | type ActualStateSymlink struct method EntryState (line 192) | func (s *ActualStateSymlink) EntryState() (*EntryState, error) { method IsExternal (line 206) | func (s *ActualStateSymlink) IsExternal() bool { method Linkname (line 211) | func (s *ActualStateSymlink) Linkname() (string, error) { method Path (line 216) | func (s *ActualStateSymlink) Path() AbsPath { method Remove (line 221) | func (s *ActualStateSymlink) Remove(system System) error { method OriginString (line 226) | func (s *ActualStateSymlink) OriginString() string { function NewActualStateEntry (line 46) | func NewActualStateEntry(system System, absPath AbsPath, fileInfo fs.Fil... FILE: internal/chezmoi/ageencryption.go type AgeEncryption (line 19) | type AgeEncryption struct method Decrypt (line 35) | func (e *AgeEncryption) Decrypt(ciphertext []byte) ([]byte, error) { method DecryptToFile (line 47) | func (e *AgeEncryption) DecryptToFile(plaintextAbsPath AbsPath, cipher... method Encrypt (line 64) | func (e *AgeEncryption) Encrypt(plaintext []byte) ([]byte, error) { method EncryptFile (line 76) | func (e *AgeEncryption) EncryptFile(plaintextAbsPath AbsPath) ([]byte,... method EncryptedSuffix (line 92) | func (e *AgeEncryption) EncryptedSuffix() string { method builtinDecrypt (line 97) | func (e *AgeEncryption) builtinDecrypt(ciphertext []byte) ([]byte, err... method builtinEncrypt (line 118) | func (e *AgeEncryption) builtinEncrypt(plaintext []byte) ([]byte, erro... method builtinIdentities (line 143) | func (e *AgeEncryption) builtinIdentities() ([]age.Identity, error) { method builtinRecipients (line 164) | func (e *AgeEncryption) builtinRecipients() ([]age.Recipient, error) { method decryptArgs (line 198) | func (e *AgeEncryption) decryptArgs() []string { method encryptArgs (line 208) | func (e *AgeEncryption) encryptArgs() []string { method identityArgs (line 237) | func (e *AgeEncryption) identityArgs() []string { function parseIdentityFile (line 250) | func parseIdentityFile(identityFile AbsPath) (identities []age.Identity,... function parseRecipientsFile (line 261) | func parseRecipientsFile(recipientsFile AbsPath) (recipients []age.Recip... FILE: internal/chezmoi/ageencryption_test.go function TestAgeEncryption (line 19) | func TestAgeEncryption(t *testing.T) { function TestAgeEncryptionMarshalUnmarshal (line 35) | func TestAgeEncryptionMarshalUnmarshal(t *testing.T) { function TestAgeEncryptionMarshalUnmarshalField (line 72) | func TestAgeEncryptionMarshalUnmarshalField(t *testing.T) { function TestAgeEncryptionMarshalUnmarshalFieldEmbedded (line 114) | func TestAgeEncryptionMarshalUnmarshalFieldEmbedded(t *testing.T) { function TestAgeMultipleIdentitiesAndMultipleRecipients (line 161) | func TestAgeMultipleIdentitiesAndMultipleRecipients(t *testing.T) { function TestAgeRecipientsFile (line 189) | func TestAgeRecipientsFile(t *testing.T) { function TestBuiltinAgeEncryption (line 220) | func TestBuiltinAgeEncryption(t *testing.T) { function TestBuiltinAgeMultipleIdentitiesAndMultipleRecipients (line 230) | func TestBuiltinAgeMultipleIdentitiesAndMultipleRecipients(t *testing.T) { function TestBuiltinAgeRecipientsFile (line 247) | func TestBuiltinAgeRecipientsFile(t *testing.T) { function builtinAgeGenerateKey (line 267) | func builtinAgeGenerateKey(t *testing.T) (*age.X25519Recipient, AbsPath) { function forEachAgeCommand (line 276) | func forEachAgeCommand(t *testing.T, f func(*testing.T, string)) { FILE: internal/chezmoi/archive.go type ArchiveFormat (line 26) | type ArchiveFormat constant ArchiveFormatUnknown (line 30) | ArchiveFormatUnknown ArchiveFormat = "" constant ArchiveFormatRar (line 31) | ArchiveFormatRar ArchiveFormat = "rar" constant ArchiveFormatTar (line 32) | ArchiveFormatTar ArchiveFormat = "tar" constant ArchiveFormatTarBz2 (line 33) | ArchiveFormatTarBz2 ArchiveFormat = "tar.bz2" constant ArchiveFormatTarGz (line 34) | ArchiveFormatTarGz ArchiveFormat = "tar.gz" constant ArchiveFormatTarXz (line 35) | ArchiveFormatTarXz ArchiveFormat = "tar.xz" constant ArchiveFormatTarZst (line 36) | ArchiveFormatTarZst ArchiveFormat = "tar.zst" constant ArchiveFormatZip (line 37) | ArchiveFormatZip ArchiveFormat = "zip" type WalkArchiveFunc (line 41) | type WalkArchiveFunc function GuessArchiveFormat (line 44) | func GuessArchiveFormat(name string, data []byte) ArchiveFormat { function WalkArchive (line 83) | func WalkArchive(data []byte, format ArchiveFormat, f WalkArchiveFunc) e... function isTarArchive (line 126) | func isTarArchive(r io.Reader) bool { function implicitTarDirHeader (line 132) | func implicitTarDirHeader(dir string, modTime time.Time) *tar.Header { type RARFileInfo (line 144) | type RARFileInfo struct method Name (line 148) | func (i RARFileInfo) Name() string { return i.FileHeader.Name } method Size (line 149) | func (i RARFileInfo) Size() int64 { return i.UnPackedSize } method Mode (line 150) | func (i RARFileInfo) Mode() fs.FileMode { return i.FileHeader.Mode() } method ModTime (line 151) | func (i RARFileInfo) ModTime() time.Time { return i.ModificationTime } method IsDir (line 152) | func (i RARFileInfo) IsDir() bool { return i.FileHeader.IsDir } method Sys (line 153) | func (i RARFileInfo) Sys() any { return nil } function walkArchiveRar (line 156) | func walkArchiveRar(r io.Reader, f WalkArchiveFunc) error { function walkArchiveTar (line 203) | func walkArchiveTar(r io.Reader, f WalkArchiveFunc) error { function walkArchiveZip (line 270) | func walkArchiveZip(r io.ReaderAt, size int64, f WalkArchiveFunc) error { FILE: internal/chezmoi/archive_test.go function TestWalkArchive (line 13) | func TestWalkArchive(t *testing.T) { FILE: internal/chezmoi/archivereadersystem.go type ArchiveReaderSystem (line 12) | type ArchiveReaderSystem struct method FileInfos (line 82) | func (s *ArchiveReaderSystem) FileInfos() map[AbsPath]fs.FileInfo { method Lstat (line 87) | func (s *ArchiveReaderSystem) Lstat(filename AbsPath) (fs.FileInfo, er... method ReadFile (line 96) | func (s *ArchiveReaderSystem) ReadFile(name AbsPath) ([]byte, error) { method Readlink (line 107) | func (s *ArchiveReaderSystem) Readlink(name AbsPath) (string, error) { type ArchiveReaderSystemOptions (line 22) | type ArchiveReaderSystemOptions struct function NewArchiveReaderSystem (line 29) | func NewArchiveReaderSystem( FILE: internal/chezmoi/archivereadersystem_test.go function TestArchiveReaderSystemTar (line 13) | func TestArchiveReaderSystemTar(t *testing.T) { FILE: internal/chezmoi/attr.go type SourceFileTargetType (line 18) | type SourceFileTargetType constant SourceFileTypeCreate (line 22) | SourceFileTypeCreate SourceFileTargetType = iota constant SourceFileTypeFile (line 23) | SourceFileTypeFile constant SourceFileTypeModify (line 24) | SourceFileTypeModify constant SourceFileTypeRemove (line 25) | SourceFileTypeRemove constant SourceFileTypeScript (line 26) | SourceFileTypeScript constant SourceFileTypeSymlink (line 27) | SourceFileTypeSymlink type ScriptOrder (line 40) | type ScriptOrder constant ScriptOrderBefore (line 44) | ScriptOrderBefore ScriptOrder = -1 constant ScriptOrderDuring (line 45) | ScriptOrderDuring ScriptOrder = 0 constant ScriptOrderAfter (line 46) | ScriptOrderAfter ScriptOrder = 1 type ScriptCondition (line 50) | type ScriptCondition constant ScriptConditionNone (line 54) | ScriptConditionNone ScriptCondition = "" constant ScriptConditionAlways (line 55) | ScriptConditionAlways ScriptCondition = "always" constant ScriptConditionOnce (line 56) | ScriptConditionOnce ScriptCondition = "once" constant ScriptConditionOnChange (line 57) | ScriptConditionOnChange ScriptCondition = "onchange" type DirAttr (line 61) | type DirAttr struct method LogValue (line 129) | func (da DirAttr) LogValue() slog.Value { method SourceName (line 141) | func (da DirAttr) SourceName() string { method perm (line 170) | func (da DirAttr) perm() fs.FileMode { type FileAttr (line 71) | type FileAttr struct method LogValue (line 285) | func (fa FileAttr) LogValue() slog.Value { method SourceName (line 301) | func (fa FileAttr) SourceName(encryptedSuffix string) string { method perm (line 391) | func (fa FileAttr) perm() fs.FileMode { type invalidDirNameError (line 84) | type invalidDirNameError method Error (line 86) | func (e invalidDirNameError) Error() string { type invalidFileNameError (line 90) | type invalidFileNameError method Error (line 92) | func (e invalidFileNameError) Error() string { function parseDirAttr (line 97) | func parseDirAttr(name string) (DirAttr, error) { function parseFileAttr (line 182) | func parseFileAttr(name, encryptedSuffix string) (FileAttr, error) { FILE: internal/chezmoi/attr_test.go function TestDirAttr (line 11) | func TestDirAttr(t *testing.T) { function TestDirAttrLiteral (line 50) | func TestDirAttrLiteral(t *testing.T) { function TestFileAttr (line 84) | func TestFileAttr(t *testing.T) { function TestFileAttrEncryptedSuffix (line 196) | func TestFileAttrEncryptedSuffix(t *testing.T) { function TestFileAttrLiteral (line 220) | func TestFileAttrLiteral(t *testing.T) { function TestFileAttrPerm (line 314) | func TestFileAttrPerm(t *testing.T) { function TestInvalidDirAttr (line 375) | func TestInvalidDirAttr(t *testing.T) { function TestInvalidFileAttr (line 387) | func TestInvalidFileAttr(t *testing.T) { FILE: internal/chezmoi/autotemplate.go type TemplateVariable (line 12) | type TemplateVariable struct function autoTemplate (line 22) | func autoTemplate(contents []byte, data map[string]any) ([]byte, bool) { function appendVariables (line 95) | func appendVariables(variables []TemplateVariable, parent []string, data... function extractVariables (line 112) | func extractVariables(data map[string]any) []TemplateVariable { function inWord (line 117) | func inWord(s string, i int) bool { function isWord (line 122) | func isWord(b byte) bool { FILE: internal/chezmoi/autotemplate_test.go function TestAutoTemplate (line 9) | func TestAutoTemplate(t *testing.T) { function TestInWord (line 178) | func TestInWord(t *testing.T) { FILE: internal/chezmoi/boltpersistentstate.go type BoltPersistentStateMode (line 17) | type BoltPersistentStateMode constant BoltPersistentStateReadOnly (line 21) | BoltPersistentStateReadOnly BoltPersistentStateMode = iota constant BoltPersistentStateReadWrite (line 22) | BoltPersistentStateReadWrite type BoltPersistentState (line 26) | type BoltPersistentState struct method Close (line 75) | func (b *BoltPersistentState) Close() error { method CopyTo (line 86) | func (b *BoltPersistentState) CopyTo(p PersistentState) error { method Delete (line 105) | func (b *BoltPersistentState) Delete(bucket, key []byte) error { method DeleteBucket (line 123) | func (b *BoltPersistentState) DeleteBucket(bucket []byte) error { method Data (line 137) | func (b *BoltPersistentState) Data() (map[string]map[string]string, er... method ForEach (line 167) | func (b *BoltPersistentState) ForEach(bucket []byte, fn func(k, v []by... method Get (line 187) | func (b *BoltPersistentState) Get(bucket, key []byte) ([]byte, error) { method Set (line 211) | func (b *BoltPersistentState) Set(bucket, key, value []byte) error { method open (line 226) | func (b *BoltPersistentState) open() error { function NewBoltPersistentState (line 35) | func NewBoltPersistentState(system System, path AbsPath, mode BoltPersis... FILE: internal/chezmoi/boltpersistentstate_test.go function TestBoltPersistentState (line 16) | func TestBoltPersistentState(t *testing.T) { function TestBoltPersistentStateMock (line 90) | func TestBoltPersistentStateMock(t *testing.T) { function TestBoltPersistentStateGeneric (line 132) | func TestBoltPersistentStateGeneric(t *testing.T) { function TestBoltPersistentStateReadOnly (line 149) | func TestBoltPersistentStateReadOnly(t *testing.T) { FILE: internal/chezmoi/byteordermarks.go type byteOrderMark (line 3) | type byteOrderMark struct FILE: internal/chezmoi/chezmoi.go constant ignorePrefix (line 37) | ignorePrefix = "." constant afterPrefix (line 38) | afterPrefix = "after_" constant beforePrefix (line 39) | beforePrefix = "before_" constant createPrefix (line 40) | createPrefix = "create_" constant dotPrefix (line 41) | dotPrefix = "dot_" constant emptyPrefix (line 42) | emptyPrefix = "empty_" constant encryptedPrefix (line 43) | encryptedPrefix = "encrypted_" constant exactPrefix (line 44) | exactPrefix = "exact_" constant executablePrefix (line 45) | executablePrefix = "executable_" constant externalPrefix (line 46) | externalPrefix = "external_" constant literalPrefix (line 47) | literalPrefix = "literal_" constant modifyPrefix (line 48) | modifyPrefix = "modify_" constant oncePrefix (line 49) | oncePrefix = "once_" constant onChangePrefix (line 50) | onChangePrefix = "onchange_" constant privatePrefix (line 51) | privatePrefix = "private_" constant readOnlyPrefix (line 52) | readOnlyPrefix = "readonly_" constant removePrefix (line 53) | removePrefix = "remove_" constant runPrefix (line 54) | runPrefix = "run_" constant symlinkPrefix (line 55) | symlinkPrefix = "symlink_" constant literalSuffix (line 56) | literalSuffix = ".literal" constant TemplateSuffix (line 57) | TemplateSuffix = ".tmpl" constant Prefix (line 62) | Prefix = ".chezmoi" constant RootName (line 64) | RootName = Prefix + "root" constant TemplatesDirName (line 65) | TemplatesDirName = Prefix + "templates" constant VersionName (line 66) | VersionName = Prefix + "version" constant dataName (line 67) | dataName = Prefix + "data" constant externalName (line 68) | externalName = Prefix + "external" constant externalsDirName (line 69) | externalsDirName = Prefix + "externals" constant ignoreName (line 70) | ignoreName = Prefix + "ignore" constant removeName (line 71) | removeName = Prefix + "remove" constant scriptsDirName (line 72) | scriptsDirName = Prefix + "scripts" type TextConvFunc (line 150) | type TextConvFunc function FQDNHostname (line 153) | func FQDNHostname(fileSystem vfs.FS) (string, error) { function FlagCompletionFunc (line 183) | func FlagCompletionFunc(allCompletions []string) func(*cobra.Command, []... function ParseBool (line 197) | func ParseBool(str string) (bool, error) { function IsSuspiciousSourceDirEntry (line 209) | func IsSuspiciousSourceDirEntry(base string, fileInfo fs.FileInfo, encry... function UniqueAbbreviations (line 236) | func UniqueAbbreviations(values []string) map[string]string { function eagerNoErr (line 258) | func eagerNoErr[T any](value T) func() (T, error) { function eagerZeroNoErr (line 265) | func eagerZeroNoErr[T any]() func() (T, error) { function etcHostnameFQDNHostname (line 273) | func etcHostnameFQDNHostname(fileSystem vfs.FS) (string, error) { function etcMynameFQDNHostname (line 289) | func etcMynameFQDNHostname(fileSystem vfs.FS) (string, error) { function etcHostsFQDNHostname (line 306) | func etcHostsFQDNHostname(fileSystem vfs.FS) (string, error) { function isEmpty (line 337) | func isEmpty(data []byte) bool { function isPrivate (line 342) | func isPrivate(fileInfo fs.FileInfo) bool { function isReadOnly (line 347) | func isReadOnly(fileInfo fs.FileInfo) bool { function md5Sum (line 352) | func md5Sum(data []byte) []byte { function lazySHA256 (line 358) | func lazySHA256(contentsFunc func() ([]byte, error)) func() ([32]byte, e... function modeTypeName (line 369) | func modeTypeName(mode fs.FileMode) string { function ripemd160Sum (line 377) | func ripemd160Sum(data []byte) []byte { function sha1Sum (line 382) | func sha1Sum(data []byte) []byte { function sha384Sum (line 388) | func sha384Sum(data []byte) []byte { function sha512Sum (line 394) | func sha512Sum(data []byte) []byte { function ensureSuffix (line 400) | func ensureSuffix(s, suffix string) string { FILE: internal/chezmoi/chezmoi_test.go function TestEtcHostsFQDNHostname (line 13) | func TestEtcHostsFQDNHostname(t *testing.T) { function TestUniqueAbbreviations (line 160) | func TestUniqueAbbreviations(t *testing.T) { FILE: internal/chezmoi/chezmoi_unix.go constant nativeLineEnding (line 12) | nativeLineEnding = "\n" function init (line 14) | func init() { function findExecutableExtensions (line 21) | func findExecutableExtensions(path string) []string { function IsExecutable (line 26) | func IsExecutable(fileInfo fs.FileInfo) bool { function UserHomeDir (line 31) | func UserHomeDir() (string, error) { FILE: internal/chezmoi/chezmoi_unix_test.go function TestUmask (line 13) | func TestUmask(t *testing.T) { FILE: internal/chezmoi/chezmoi_windows.go constant nativeLineEnding (line 11) | nativeLineEnding = "\r\n" function findExecutableExtensions (line 18) | func findExecutableExtensions(path string) []string { function IsExecutable (line 34) | func IsExecutable(fileInfo fs.FileInfo) bool { function UserHomeDir (line 52) | func UserHomeDir() (string, error) { function isSlash (line 62) | func isSlash(c byte) bool { FILE: internal/chezmoi/compression.go type CompressionFormat (line 15) | type CompressionFormat constant CompressionFormatNone (line 19) | CompressionFormatNone CompressionFormat = "" constant CompressionFormatBzip2 (line 20) | CompressionFormatBzip2 CompressionFormat = "bzip2" constant CompressionFormatGzip (line 21) | CompressionFormatGzip CompressionFormat = "gzip" constant CompressionFormatXz (line 22) | CompressionFormatXz CompressionFormat = "xz" constant CompressionFormatZstd (line 23) | CompressionFormatZstd CompressionFormat = "zstd" function decompress (line 26) | func decompress(compressionFormat CompressionFormat, data []byte) ([]byt... FILE: internal/chezmoi/data.go function Kernel (line 15) | func Kernel(fileSystem vfs.FS) (map[string]any, error) { function OSRelease (line 51) | func OSRelease(fileSystem vfs.FS) (map[string]any, error) { function maybeUnquote (line 72) | func maybeUnquote(s string) string { function parseOSRelease (line 83) | func parseOSRelease(data []byte) (map[string]any, error) { FILE: internal/chezmoi/data_test.go function TestKernel (line 13) | func TestKernel(t *testing.T) { function TestOSRelease (line 63) | func TestOSRelease(t *testing.T) { function TestParseOSRelease (line 169) | func TestParseOSRelease(t *testing.T) { FILE: internal/chezmoi/debugencryption.go type DebugEncryption (line 10) | type DebugEncryption struct method Decrypt (line 25) | func (e *DebugEncryption) Decrypt(ciphertext []byte) ([]byte, error) { method DecryptToFile (line 35) | func (e *DebugEncryption) DecryptToFile(plaintextAbsPath AbsPath, ciph... method Encrypt (line 45) | func (e *DebugEncryption) Encrypt(plaintext []byte) ([]byte, error) { method EncryptFile (line 55) | func (e *DebugEncryption) EncryptFile(plaintextAbsPath AbsPath) ([]byt... method EncryptedSuffix (line 65) | func (e *DebugEncryption) EncryptedSuffix() string { function NewDebugEncryption (line 17) | func NewDebugEncryption(encryption Encryption, logger *slog.Logger) *Deb... FILE: internal/chezmoi/debugpersistentstate.go type DebugPersistentState (line 10) | type DebugPersistentState struct method Close (line 25) | func (s *DebugPersistentState) Close() error { method CopyTo (line 32) | func (s *DebugPersistentState) CopyTo(p PersistentState) error { method Data (line 39) | func (s *DebugPersistentState) Data() (map[string]map[string]string, e... method Delete (line 48) | func (s *DebugPersistentState) Delete(bucket, key []byte) error { method DeleteBucket (line 58) | func (s *DebugPersistentState) DeleteBucket(bucket []byte) error { method ForEach (line 67) | func (s *DebugPersistentState) ForEach(bucket []byte, fn func(k, v []b... method Get (line 84) | func (s *DebugPersistentState) Get(bucket, key []byte) ([]byte, error) { method Set (line 95) | func (s *DebugPersistentState) Set(bucket, key, value []byte) error { function NewDebugPersistentState (line 17) | func NewDebugPersistentState(persistentState PersistentState, logger *sl... FILE: internal/chezmoi/debugsystem.go type DebugSystem (line 15) | type DebugSystem struct method Chtimes (line 30) | func (s *DebugSystem) Chtimes(name AbsPath, atime, mtime time.Time) er... method Chmod (line 41) | func (s *DebugSystem) Chmod(name AbsPath, mode fs.FileMode) error { method Glob (line 51) | func (s *DebugSystem) Glob(name string) ([]string, error) { method Link (line 61) | func (s *DebugSystem) Link(oldPath, newPath AbsPath) error { method Lstat (line 71) | func (s *DebugSystem) Lstat(name AbsPath) (fs.FileInfo, error) { method Mkdir (line 80) | func (s *DebugSystem) Mkdir(name AbsPath, perm fs.FileMode) error { method RawPath (line 90) | func (s *DebugSystem) RawPath(path AbsPath) (AbsPath, error) { method ReadDir (line 95) | func (s *DebugSystem) ReadDir(name AbsPath) ([]fs.DirEntry, error) { method ReadFile (line 104) | func (s *DebugSystem) ReadFile(name AbsPath) ([]byte, error) { method Readlink (line 115) | func (s *DebugSystem) Readlink(name AbsPath) (string, error) { method Remove (line 124) | func (s *DebugSystem) Remove(name AbsPath) error { method RemoveAll (line 133) | func (s *DebugSystem) RemoveAll(name AbsPath) error { method Rename (line 142) | func (s *DebugSystem) Rename(oldPath, newPath AbsPath) error { method RunCmd (line 152) | func (s *DebugSystem) RunCmd(cmd *exec.Cmd) error { method RunScript (line 165) | func (s *DebugSystem) RunScript(scriptName RelPath, dir AbsPath, data ... method Stat (line 180) | func (s *DebugSystem) Stat(name AbsPath) (fs.FileInfo, error) { method UnderlyingFS (line 189) | func (s *DebugSystem) UnderlyingFS() vfs.FS { method WriteFile (line 194) | func (s *DebugSystem) WriteFile(name AbsPath, data []byte, perm fs.Fil... method WriteSymlink (line 206) | func (s *DebugSystem) WriteSymlink(oldName string, newName AbsPath) er... function NewDebugSystem (line 22) | func NewDebugSystem(system System, logger *slog.Logger) *DebugSystem { FILE: internal/chezmoi/diff.go type gitDiffChunk (line 23) | type gitDiffChunk struct method Content (line 28) | func (c *gitDiffChunk) Content() string { return c.content } method Type (line 29) | func (c *gitDiffChunk) Type() diff.Operation { return c.operation } type gitDiffFile (line 33) | type gitDiffFile struct method Hash (line 39) | func (f *gitDiffFile) Hash() plumbing.Hash { return f.hash } method Mode (line 40) | func (f *gitDiffFile) Mode() filemode.FileMode { return f.fileMode } method Path (line 41) | func (f *gitDiffFile) Path() string { return f.relPath.Stri... type gitDiffFilePatch (line 45) | type gitDiffFilePatch struct method IsBinary (line 51) | func (fp *gitDiffFilePatch) IsBinary() bool { return fp.b... method Files (line 52) | func (fp *gitDiffFilePatch) Files() (from, to diff.File) { return fp.f... method Chunks (line 53) | func (fp *gitDiffFilePatch) Chunks() []diff.Chunk { return fp.c... type gitDiffPatch (line 57) | type gitDiffPatch struct method FilePatches (line 62) | func (p *gitDiffPatch) FilePatches() []diff.FilePatch { return p.fileP... method Message (line 63) | func (p *gitDiffPatch) Message() string { return p.messa... function DiffPatch (line 67) | func DiffPatch(path RelPath, fromData []byte, fromMode fs.FileMode, toDa... function diffChunks (line 120) | func diffChunks(from, to string) []diff.Chunk { function diffFileMode (line 152) | func diffFileMode(mode fs.FileMode) (filemode.FileMode, error) { function isBinary (line 161) | func isBinary(data []byte) bool { FILE: internal/chezmoi/dryrunsystem.go type DryRunSystem (line 13) | type DryRunSystem struct method Chmod (line 26) | func (s *DryRunSystem) Chmod(name AbsPath, mode fs.FileMode) error { method Chtimes (line 32) | func (s *DryRunSystem) Chtimes(name AbsPath, atime, mtime time.Time) e... method Glob (line 38) | func (s *DryRunSystem) Glob(pattern string) ([]string, error) { method Link (line 43) | func (s *DryRunSystem) Link(oldName, newName AbsPath) error { method Lstat (line 49) | func (s *DryRunSystem) Lstat(name AbsPath) (fs.FileInfo, error) { method Mkdir (line 54) | func (s *DryRunSystem) Mkdir(name AbsPath, perm fs.FileMode) error { method IsModified (line 61) | func (s *DryRunSystem) IsModified() bool { method RawPath (line 66) | func (s *DryRunSystem) RawPath(path AbsPath) (AbsPath, error) { method ReadDir (line 71) | func (s *DryRunSystem) ReadDir(name AbsPath) ([]fs.DirEntry, error) { method ReadFile (line 76) | func (s *DryRunSystem) ReadFile(name AbsPath) ([]byte, error) { method Readlink (line 81) | func (s *DryRunSystem) Readlink(name AbsPath) (string, error) { method Remove (line 86) | func (s *DryRunSystem) Remove(AbsPath) error { method RemoveAll (line 92) | func (s *DryRunSystem) RemoveAll(AbsPath) error { method Rename (line 98) | func (s *DryRunSystem) Rename(oldPath, newPath AbsPath) error { method RunCmd (line 104) | func (s *DryRunSystem) RunCmd(cmd *exec.Cmd) error { method RunScript (line 110) | func (s *DryRunSystem) RunScript(scriptName RelPath, dir AbsPath, data... method Stat (line 116) | func (s *DryRunSystem) Stat(name AbsPath) (fs.FileInfo, error) { method UnderlyingFS (line 121) | func (s *DryRunSystem) UnderlyingFS() vfs.FS { method WriteFile (line 126) | func (s *DryRunSystem) WriteFile(AbsPath, []byte, fs.FileMode) error { method WriteSymlink (line 132) | func (s *DryRunSystem) WriteSymlink(string, AbsPath) error { method setModified (line 140) | func (s *DryRunSystem) setModified() { function NewDryRunSystem (line 19) | func NewDryRunSystem(system System) *DryRunSystem { FILE: internal/chezmoi/dumpsystem.go type DumpSystemDataType (line 11) | type DumpSystemDataType constant DumpSystemDataTypeCommand (line 15) | DumpSystemDataTypeCommand DumpSystemDataType = "command" constant DumpSystemDataTypeDir (line 16) | DumpSystemDataTypeDir DumpSystemDataType = "dir" constant DumpSystemDataTypeFile (line 17) | DumpSystemDataTypeFile DumpSystemDataType = "file" constant DumpSystemDataTypeScript (line 18) | DumpSystemDataTypeScript DumpSystemDataType = "script" constant DumpSystemDataTypeSymlink (line 19) | DumpSystemDataTypeSymlink DumpSystemDataType = "symlink" type DumpSystem (line 23) | type DumpSystem struct method Data (line 76) | func (s *DumpSystem) Data() map[string]any { method Mkdir (line 81) | func (s *DumpSystem) Mkdir(dirname AbsPath, perm fs.FileMode) error { method RunCmd (line 90) | func (s *DumpSystem) RunCmd(cmd *exec.Cmd) error { method RunScript (line 102) | func (s *DumpSystem) RunScript(scriptName RelPath, dir AbsPath, data [... method UnderlyingFS (line 119) | func (s *DumpSystem) UnderlyingFS() vfs.FS { method WriteFile (line 124) | func (s *DumpSystem) WriteFile(filename AbsPath, data []byte, perm fs.... method WriteSymlink (line 134) | func (s *DumpSystem) WriteSymlink(oldName string, newName AbsPath) err... method setData (line 142) | func (s *DumpSystem) setData(key string, value any) error { type DumpSystemCommandData (line 31) | type DumpSystemCommandData struct type DumpSystemDirData (line 38) | type DumpSystemDirData struct type DumpSystemFileData (line 45) | type DumpSystemFileData struct type DumpSystemScriptData (line 53) | type DumpSystemScriptData struct type DumpSystemSymlinkData (line 62) | type DumpSystemSymlinkData struct function NewDumpSystem (line 69) | func NewDumpSystem() *DumpSystem { FILE: internal/chezmoi/dumpsystem_test.go function TestDumpSystem (line 16) | func TestDumpSystem(t *testing.T) { FILE: internal/chezmoi/duration.go type Duration (line 6) | type Duration method UnmarshalText (line 8) | func (d *Duration) UnmarshalText(data []byte) error { FILE: internal/chezmoi/encryption.go type Encryption (line 4) | type Encryption interface FILE: internal/chezmoi/encryption_test.go type xorEncryption (line 13) | type xorEncryption struct method Decrypt (line 19) | func (e *xorEncryption) Decrypt(ciphertext []byte) ([]byte, error) { method DecryptToFile (line 23) | func (e *xorEncryption) DecryptToFile(plaintextAbsPath AbsPath, cipher... method Encrypt (line 27) | func (e *xorEncryption) Encrypt(plaintext []byte) ([]byte, error) { method EncryptFile (line 31) | func (e *xorEncryption) EncryptFile(plaintextAbsPath AbsPath) ([]byte,... method EncryptedSuffix (line 39) | func (e *xorEncryption) EncryptedSuffix() string { method xorWithKey (line 43) | func (e *xorEncryption) xorWithKey(input []byte) []byte { function lookPathOrSkip (line 51) | func lookPathOrSkip(t *testing.T, file string) string { function testEncryptionDecryptToFile (line 61) | func testEncryptionDecryptToFile(t *testing.T, encryption Encryption) { function testEncryptionEncryptDecrypt (line 82) | func testEncryptionEncryptDecrypt(t *testing.T, encryption Encryption) { function testEncryptionEncryptFile (line 99) | func testEncryptionEncryptFile(t *testing.T, encryption Encryption) { function TestXOREncryption (line 119) | func TestXOREncryption(t *testing.T) { function testEncryption (line 125) | func testEncryption(t *testing.T, encryption Encryption) { FILE: internal/chezmoi/entrystate.go type EntryStateType (line 13) | type EntryStateType constant EntryStateTypeDir (line 17) | EntryStateTypeDir EntryStateType = "dir" constant EntryStateTypeFile (line 18) | EntryStateTypeFile EntryStateType = "file" constant EntryStateTypeSymlink (line 19) | EntryStateTypeSymlink EntryStateType = "symlink" constant EntryStateTypeRemove (line 20) | EntryStateTypeRemove EntryStateType = "remove" constant EntryStateTypeScript (line 21) | EntryStateTypeScript EntryStateType = "script" type EntryState (line 26) | type EntryState struct method Contents (line 35) | func (s *EntryState) Contents() []byte { method Equal (line 40) | func (s *EntryState) Equal(other *EntryState) bool { method Equivalent (line 51) | func (s *EntryState) Equivalent(other *EntryState) bool { method LogValue (line 63) | func (s *EntryState) LogValue() slog.Value { method Overwrite (line 82) | func (s *EntryState) Overwrite() bool { FILE: internal/chezmoi/entrystate_test.go function TestEntryStateEquivalent (line 15) | func TestEntryStateEquivalent(t *testing.T) { FILE: internal/chezmoi/entrytypefilter.go type EntryTypeFilter (line 8) | type EntryTypeFilter struct method IncludeEntryTypeBits (line 23) | func (f *EntryTypeFilter) IncludeEntryTypeBits(entryTypeBits EntryType... method IncludeFileInfo (line 28) | func (f *EntryTypeFilter) IncludeFileInfo(fileInfo fs.FileInfo) bool { method IncludeSourceStateEntry (line 33) | func (f *EntryTypeFilter) IncludeSourceStateEntry(sourceStateEntry Sou... method IncludeTargetStateEntry (line 38) | func (f *EntryTypeFilter) IncludeTargetStateEntry(targetStateEntry Tar... function NewEntryTypeFilter (line 15) | func NewEntryTypeFilter(includeEntryTypeBits, excludeEntryTypeBits Entry... FILE: internal/chezmoi/entrytypeset.go type EntryTypeSet (line 18) | type EntryTypeSet struct method Bits (line 101) | func (s *EntryTypeSet) Bits() EntryTypeBits { method ContainsEntryTypeBits (line 106) | func (s *EntryTypeSet) ContainsEntryTypeBits(b EntryTypeBits) bool { method ContainsFileInfo (line 111) | func (s *EntryTypeSet) ContainsFileInfo(fileInfo fs.FileInfo) bool { method ContainsSourceStateEntry (line 125) | func (s *EntryTypeSet) ContainsSourceStateEntry(sourceStateEntry Sourc... method ContainsTargetStateEntry (line 186) | func (s *EntryTypeSet) ContainsTargetStateEntry(targetStateEntry Targe... method MarshalJSON (line 254) | func (s *EntryTypeSet) MarshalJSON() ([]byte, error) { method MarshalYAML (line 272) | func (s *EntryTypeSet) MarshalYAML() (any, error) { method Set (line 286) | func (s *EntryTypeSet) Set(str string) error { method SetSlice (line 295) | func (s *EntryTypeSet) SetSlice(ss []string) error { method String (line 320) | func (s *EntryTypeSet) String() string { method Type (line 341) | func (s *EntryTypeSet) Type() string { type EntryTypeBits (line 23) | type EntryTypeBits constant EntryTypeDirs (line 27) | EntryTypeDirs EntryTypeBits = 1 << iota constant EntryTypeFiles (line 28) | EntryTypeFiles constant EntryTypeRemove (line 29) | EntryTypeRemove constant EntryTypeScripts (line 30) | EntryTypeScripts constant EntryTypeSymlinks (line 31) | EntryTypeSymlinks constant EntryTypeEncrypted (line 32) | EntryTypeEncrypted constant EntryTypeExternals (line 33) | EntryTypeExternals constant EntryTypeTemplates (line 34) | EntryTypeTemplates constant EntryTypeAlways (line 35) | EntryTypeAlways constant EntryTypesAll (line 38) | EntryTypesAll EntryTypeBits = EntryTypeDirs | constant EntryTypesNone (line 49) | EntryTypesNone EntryTypeBits = 0 function NewEntryTypeSet (line 94) | func NewEntryTypeSet(bits EntryTypeBits) *EntryTypeSet { function StringSliceToEntryTypeSetHookFunc (line 348) | func StringSliceToEntryTypeSetHookFunc() mapstructure.DecodeHookFunc { function EntryTypeSetFlagCompletionFunc (line 374) | func EntryTypeSetFlagCompletionFunc(cmd *cobra.Command, args []string, t... FILE: internal/chezmoi/entrytypeset_test.go function TestIncludeMaskSet (line 10) | func TestIncludeMaskSet(t *testing.T) { function TestIncludeMaskStringSlice (line 66) | func TestIncludeMaskStringSlice(t *testing.T) { function TestEntryTypeSetFlagCompletionFunc (line 118) | func TestEntryTypeSetFlagCompletionFunc(t *testing.T) { FILE: internal/chezmoi/erroronwritesystem.go type ErrorOnWriteSystem (line 13) | type ErrorOnWriteSystem struct method Chmod (line 28) | func (s *ErrorOnWriteSystem) Chmod(name AbsPath, mode fs.FileMode) err... method Chtimes (line 33) | func (s *ErrorOnWriteSystem) Chtimes(name AbsPath, atime, mtime time.T... method Glob (line 38) | func (s *ErrorOnWriteSystem) Glob(pattern string) ([]string, error) { method Link (line 43) | func (s *ErrorOnWriteSystem) Link(oldName, newName AbsPath) error { method Lstat (line 48) | func (s *ErrorOnWriteSystem) Lstat(name AbsPath) (fs.FileInfo, error) { method Mkdir (line 53) | func (s *ErrorOnWriteSystem) Mkdir(name AbsPath, perm fs.FileMode) err... method RawPath (line 58) | func (s *ErrorOnWriteSystem) RawPath(path AbsPath) (AbsPath, error) { method ReadDir (line 63) | func (s *ErrorOnWriteSystem) ReadDir(name AbsPath) ([]fs.DirEntry, err... method ReadFile (line 68) | func (s *ErrorOnWriteSystem) ReadFile(name AbsPath) ([]byte, error) { method Readlink (line 73) | func (s *ErrorOnWriteSystem) Readlink(name AbsPath) (string, error) { method Remove (line 78) | func (s *ErrorOnWriteSystem) Remove(AbsPath) error { method RemoveAll (line 83) | func (s *ErrorOnWriteSystem) RemoveAll(AbsPath) error { method Rename (line 88) | func (s *ErrorOnWriteSystem) Rename(oldPath, newPath AbsPath) error { method RunCmd (line 93) | func (s *ErrorOnWriteSystem) RunCmd(cmd *exec.Cmd) error { method RunScript (line 98) | func (s *ErrorOnWriteSystem) RunScript(scriptName RelPath, dir AbsPath... method Stat (line 103) | func (s *ErrorOnWriteSystem) Stat(name AbsPath) (fs.FileInfo, error) { method UnderlyingFS (line 108) | func (s *ErrorOnWriteSystem) UnderlyingFS() vfs.FS { method WriteFile (line 113) | func (s *ErrorOnWriteSystem) WriteFile(AbsPath, []byte, fs.FileMode) e... method WriteSymlink (line 118) | func (s *ErrorOnWriteSystem) WriteSymlink(string, AbsPath) error { function NewErrorOnWriteSystem (line 20) | func NewErrorOnWriteSystem(system System, err error) *ErrorOnWriteSystem { FILE: internal/chezmoi/errors.go type ExitCodeError (line 13) | type ExitCodeError method Error (line 15) | func (e ExitCodeError) Error() string { type TooOldError (line 21) | type TooOldError struct method Error (line 26) | func (e *TooOldError) Error() string { type InconsistentStateError (line 31) | type InconsistentStateError struct method Error (line 36) | func (e *InconsistentStateError) Error() string { type NotInAbsDirError (line 41) | type NotInAbsDirError struct method Error (line 46) | func (e *NotInAbsDirError) Error() string { type NotInRelDirError (line 50) | type NotInRelDirError struct method Error (line 55) | func (e *NotInRelDirError) Error() string { type UnsupportedFileTypeError (line 59) | type UnsupportedFileTypeError struct method Error (line 64) | func (e *UnsupportedFileTypeError) Error() string { FILE: internal/chezmoi/externaldiffsystem.go type ExternalDiffSystem (line 19) | type ExternalDiffSystem struct method Close (line 66) | func (s *ExternalDiffSystem) Close() error { method Chmod (line 77) | func (s *ExternalDiffSystem) Chmod(name AbsPath, mode fs.FileMode) err... method Chtimes (line 83) | func (s *ExternalDiffSystem) Chtimes(name AbsPath, atime, mtime time.T... method Glob (line 88) | func (s *ExternalDiffSystem) Glob(pattern string) ([]string, error) { method Link (line 93) | func (s *ExternalDiffSystem) Link(oldName, newName AbsPath) error { method Lstat (line 99) | func (s *ExternalDiffSystem) Lstat(name AbsPath) (fs.FileInfo, error) { method Mkdir (line 104) | func (s *ExternalDiffSystem) Mkdir(name AbsPath, perm fs.FileMode) err... method RawPath (line 126) | func (s *ExternalDiffSystem) RawPath(path AbsPath) (AbsPath, error) { method ReadDir (line 131) | func (s *ExternalDiffSystem) ReadDir(name AbsPath) ([]fs.DirEntry, err... method ReadFile (line 136) | func (s *ExternalDiffSystem) ReadFile(name AbsPath) ([]byte, error) { method Readlink (line 141) | func (s *ExternalDiffSystem) Readlink(name AbsPath) (string, error) { method Remove (line 146) | func (s *ExternalDiffSystem) Remove(name AbsPath) error { method RemoveAll (line 163) | func (s *ExternalDiffSystem) RemoveAll(name AbsPath) error { method Rename (line 180) | func (s *ExternalDiffSystem) Rename(oldPath, newPath AbsPath) error { method RunCmd (line 186) | func (s *ExternalDiffSystem) RunCmd(cmd *exec.Cmd) error { method RunDiffCommand (line 191) | func (s *ExternalDiffSystem) RunDiffCommand(destAbsPath, targetAbsPath... method RunScript (line 286) | func (s *ExternalDiffSystem) RunScript(scriptName RelPath, dir AbsPath... method Stat (line 315) | func (s *ExternalDiffSystem) Stat(name AbsPath) (fs.FileInfo, error) { method UnderlyingFS (line 320) | func (s *ExternalDiffSystem) UnderlyingFS() vfs.FS { method WriteFile (line 325) | func (s *ExternalDiffSystem) WriteFile(filename AbsPath, data []byte, ... method WriteSymlink (line 396) | func (s *ExternalDiffSystem) WriteSymlink(oldName string, newName AbsP... method tempDir (line 403) | func (s *ExternalDiffSystem) tempDir() (AbsPath, error) { method entriesDiffer (line 418) | func (s *ExternalDiffSystem) entriesDiffer(absPath1, absPath2 AbsPath)... type ExternalDiffSystemOptions (line 34) | type ExternalDiffSystemOptions struct function NewExternalDiffSystem (line 43) | func NewExternalDiffSystem( FILE: internal/chezmoi/findexecutable.go function FindExecutable (line 23) | func FindExecutable(files, paths []string) (string, error) { FILE: internal/chezmoi/findexecutable_darwin_test.go function TestFindExecutable (line 10) | func TestFindExecutable(t *testing.T) { FILE: internal/chezmoi/findexecutable_unix_test.go function TestFindExecutable (line 12) | func TestFindExecutable(t *testing.T) { FILE: internal/chezmoi/findexecutable_windows_test.go function TestFindExecutable (line 13) | func TestFindExecutable(t *testing.T) { FILE: internal/chezmoi/format.go type Format (line 29) | type Format interface type formatJSON (line 36) | type formatJSON struct method Marshal (line 103) | func (formatJSON) Marshal(value any) ([]byte, error) { method Name (line 115) | func (formatJSON) Name() string { method Unmarshal (line 120) | func (formatJSON) Unmarshal(data []byte, value any) error { type formatJSONC (line 39) | type formatJSONC struct method Marshal (line 78) | func (formatJSONC) Marshal(value any) ([]byte, error) { method Name (line 89) | func (formatJSONC) Name() string { method Unmarshal (line 94) | func (formatJSONC) Unmarshal(data []byte, value any) error { type formatTOML (line 42) | type formatTOML struct method Marshal (line 151) | func (formatTOML) Marshal(value any) ([]byte, error) { method Name (line 156) | func (formatTOML) Name() string { method Unmarshal (line 161) | func (formatTOML) Unmarshal(data []byte, value any) error { type formatYAML (line 45) | type formatYAML struct method Name (line 168) | func (formatYAML) Name() string { method Marshal (line 173) | func (formatYAML) Marshal(value any) ([]byte, error) { method Unmarshal (line 178) | func (formatYAML) Unmarshal(data []byte, value any) error { function UnmarshalFileData (line 68) | func UnmarshalFileData(filenameAbsPath AbsPath, data []byte, value any) ... function FormatFromAbsPath (line 194) | func FormatFromAbsPath(absPath AbsPath) (Format, error) { function formatFromExtension (line 203) | func formatFromExtension(extension string) (Format, error) { function isPrefixDotFormat (line 211) | func isPrefixDotFormat(name, prefix string) bool { function isPrefixDotFormatDotTmpl (line 220) | func isPrefixDotFormatDotTmpl(name, prefix string) bool { function replaceJSONNumbersWithNumericValues (line 232) | func replaceJSONNumbersWithNumericValues(value any) any { function replaceJSONNumbersWithNumericValuesMap (line 255) | func replaceJSONNumbersWithNumericValuesMap(value map[string]any) map[st... function replaceJSONNumbersWithNumericValuesSlice (line 262) | func replaceJSONNumbersWithNumericValuesSlice(value []any) []any { FILE: internal/chezmoi/format_test.go function TestFormatJSONSingleValue (line 9) | func TestFormatJSONSingleValue(t *testing.T) { function TestFormats (line 16) | func TestFormats(t *testing.T) { function TestFormatRoundTrip (line 24) | func TestFormatRoundTrip(t *testing.T) { function TestFormatEdgeCases (line 58) | func TestFormatEdgeCases(t *testing.T) { FILE: internal/chezmoi/gitdiffsystem.go type GitDiffSystem (line 21) | type GitDiffSystem struct method Chmod (line 62) | func (s *GitDiffSystem) Chmod(name AbsPath, mode fs.FileMode) error { method Chtimes (line 84) | func (s *GitDiffSystem) Chtimes(name AbsPath, atime, mtime time.Time) ... method Glob (line 92) | func (s *GitDiffSystem) Glob(pattern string) ([]string, error) { method Link (line 109) | func (s *GitDiffSystem) Link(oldName, newName AbsPath) error { method Lstat (line 115) | func (s *GitDiffSystem) Lstat(name AbsPath) (fs.FileInfo, error) { method Mkdir (line 123) | func (s *GitDiffSystem) Mkdir(name AbsPath, perm fs.FileMode) error { method RawPath (line 133) | func (s *GitDiffSystem) RawPath(path AbsPath) (AbsPath, error) { method ReadDir (line 138) | func (s *GitDiffSystem) ReadDir(name AbsPath) ([]fs.DirEntry, error) { method ReadFile (line 158) | func (s *GitDiffSystem) ReadFile(name AbsPath) ([]byte, error) { method Readlink (line 163) | func (s *GitDiffSystem) Readlink(name AbsPath) (string, error) { method Remove (line 168) | func (s *GitDiffSystem) Remove(name AbsPath) error { method RemoveAll (line 195) | func (s *GitDiffSystem) RemoveAll(name AbsPath) error { method Rename (line 209) | func (s *GitDiffSystem) Rename(oldPath, newPath AbsPath) error { method RunCmd (line 260) | func (s *GitDiffSystem) RunCmd(cmd *exec.Cmd) error { method RunScript (line 265) | func (s *GitDiffSystem) RunScript(scriptName RelPath, dir AbsPath, dat... method Stat (line 292) | func (s *GitDiffSystem) Stat(name AbsPath) (fs.FileInfo, error) { method UnderlyingFS (line 300) | func (s *GitDiffSystem) UnderlyingFS() vfs.FS { method WriteFile (line 305) | func (s *GitDiffSystem) WriteFile(filename AbsPath, data []byte, perm ... method WriteSymlink (line 315) | func (s *GitDiffSystem) WriteSymlink(oldName string, newName AbsPath) ... method encodeDiff (line 331) | func (s *GitDiffSystem) encodeDiff(absPath AbsPath, toData []byte, toM... method isRemoved (line 383) | func (s *GitDiffSystem) isRemoved(absPath AbsPath) bool { method trimPrefix (line 403) | func (s *GitDiffSystem) trimPrefix(absPath AbsPath) RelPath { type GitDiffSystemOptions (line 33) | type GitDiffSystemOptions struct function NewGitDiffSystem (line 44) | func NewGitDiffSystem(system System, w io.Writer, dirAbsPath AbsPath, op... FILE: internal/chezmoi/github.go function NewGitHubClient (line 14) | func NewGitHubClient(ctx context.Context, httpClient *http.Client) *gith... FILE: internal/chezmoi/glob.go type LstatFS (line 11) | type LstatFS struct method Open (line 19) | func (s LstatFS) Open(name string) (fs.File, error) { method Stat (line 24) | func (s LstatFS) Stat(name string) (fs.FileInfo, error) { function Glob (line 30) | func Glob(fileSystem vfs.FS, prefix string) ([]string, error) { FILE: internal/chezmoi/gpgencryption.go type GPGEncryption (line 15) | type GPGEncryption struct method Decrypt (line 25) | func (e *GPGEncryption) Decrypt(ciphertext []byte) ([]byte, error) { method DecryptToFile (line 49) | func (e *GPGEncryption) DecryptToFile(plaintextAbsPath AbsPath, cipher... method Encrypt (line 61) | func (e *GPGEncryption) Encrypt(plaintext []byte) ([]byte, error) { method EncryptFile (line 85) | func (e *GPGEncryption) EncryptFile(plaintextAbsPath AbsPath) ([]byte,... method EncryptedSuffix (line 105) | func (e *GPGEncryption) EncryptedSuffix() string { method decryptArgs (line 110) | func (e *GPGEncryption) decryptArgs(plaintextAbsPath, ciphertextAbsPat... method encryptArgs (line 118) | func (e *GPGEncryption) encryptArgs(plaintextAbsPath, ciphertextAbsPat... method run (line 142) | func (e *GPGEncryption) run(args []string) error { function withPrivateTempDir (line 151) | func withPrivateTempDir(f func(tempDirAbsPath AbsPath) error) (err error) { FILE: internal/chezmoi/gpgencryption_test.go function TestGPGEncryption (line 12) | func TestGPGEncryption(t *testing.T) { FILE: internal/chezmoi/hexbytes.go type HexBytes (line 9) | type HexBytes method Bytes (line 12) | func (h HexBytes) Bytes() []byte { method MarshalText (line 17) | func (h HexBytes) MarshalText() ([]byte, error) { method MarshalYAML (line 27) | func (h HexBytes) MarshalYAML() ([]byte, error) { method UnmarshalText (line 36) | func (h *HexBytes) UnmarshalText(text []byte) error { method UnmarshalYAML (line 51) | func (h *HexBytes) UnmarshalYAML(data []byte) error { method String (line 68) | func (h HexBytes) String() string { FILE: internal/chezmoi/hexbytes_test.go function TestHexBytes (line 10) | func TestHexBytes(t *testing.T) { FILE: internal/chezmoi/interpreter.go type Interpreter (line 9) | type Interpreter struct method ExecCommand (line 15) | func (i *Interpreter) ExecCommand(name string) *exec.Cmd { method None (line 23) | func (i *Interpreter) None() bool { method LogValue (line 28) | func (i *Interpreter) LogValue() slog.Value { FILE: internal/chezmoi/lookpath.go function LookPath (line 15) | func LookPath(file string) (string, error) { FILE: internal/chezmoi/mockpersistentstate.go type MockPersistentState (line 4) | type MockPersistentState struct method Close (line 16) | func (s *MockPersistentState) Close() error { method CopyTo (line 21) | func (s *MockPersistentState) CopyTo(p PersistentState) error { method Data (line 33) | func (s *MockPersistentState) Data() (map[string]map[string]string, er... method Delete (line 46) | func (s *MockPersistentState) Delete(bucket, key []byte) error { method DeleteBucket (line 56) | func (s *MockPersistentState) DeleteBucket(bucket []byte) error { method ForEach (line 62) | func (s *MockPersistentState) ForEach(bucket []byte, fn func(k, v []by... method Get (line 72) | func (s *MockPersistentState) Get(bucket, key []byte) ([]byte, error) { method Set (line 81) | func (s *MockPersistentState) Set(bucket, key, value []byte) error { function NewMockPersistentState (line 9) | func NewMockPersistentState() *MockPersistentState { FILE: internal/chezmoi/mockpersistentstate_test.go function TestMockPersistentState (line 7) | func TestMockPersistentState(t *testing.T) { FILE: internal/chezmoi/mode.go type Mode (line 5) | type Mode method Set (line 26) | func (m *Mode) Set(s string) error { method String (line 40) | func (m Mode) String() string { method Type (line 45) | func (m Mode) Type() string { constant ModeFile (line 9) | ModeFile Mode = "file" constant ModeSymlink (line 10) | ModeSymlink Mode = "symlink" type InvalidModeError (line 13) | type InvalidModeError method Error (line 15) | func (e InvalidModeError) Error() string { FILE: internal/chezmoi/noencryption.go type NoEncryption (line 8) | type NoEncryption struct method Decrypt (line 11) | func (NoEncryption) Decrypt([]byte) ([]byte, error) { return nil, errE... method DecryptToFile (line 14) | func (NoEncryption) DecryptToFile(AbsPath, []byte) error { return errE... method Encrypt (line 17) | func (NoEncryption) Encrypt([]byte) ([]byte, error) { return nil, errE... method EncryptFile (line 20) | func (NoEncryption) EncryptFile(AbsPath) ([]byte, error) { return nil,... method EncryptedSuffix (line 23) | func (NoEncryption) EncryptedSuffix() string { return "" } FILE: internal/chezmoi/nullpersistentstate.go type NullPersistentState (line 5) | type NullPersistentState struct method Close (line 8) | func (NullPersistentState) Close() error { return nil } method CopyTo (line 11) | func (NullPersistentState) CopyTo(s PersistentState) error { return nil } method Data (line 14) | func (NullPersistentState) Data() (map[string]map[string]string, error... method Delete (line 17) | func (NullPersistentState) Delete(bucket, key []byte) error { return n... method DeleteBucket (line 20) | func (NullPersistentState) DeleteBucket(bucket []byte) error { return ... method ForEach (line 23) | func (NullPersistentState) ForEach(bucket []byte, fn func(k, v []byte)... method Get (line 26) | func (NullPersistentState) Get(bucket, key []byte) ([]byte, error) { r... method Set (line 29) | func (NullPersistentState) Set(bucket, key, value []byte) error { retu... FILE: internal/chezmoi/nullsystem.go type NullSystem (line 3) | type NullSystem struct FILE: internal/chezmoi/path_unix.go function NewAbsPathFromExtPath (line 14) | func NewAbsPathFromExtPath(extPath string, homeDirAbsPath AbsPath) (AbsP... function NormalizePath (line 34) | func NormalizePath(path string) (AbsPath, error) { function normalizeLinkname (line 44) | func normalizeLinkname(linkname string) string { FILE: internal/chezmoi/path_windows.go function NewAbsPathFromExtPath (line 13) | func NewAbsPathFromExtPath(extPath string, homeDirAbsPath AbsPath) (AbsP... function NormalizePath (line 33) | func NormalizePath(path string) (AbsPath, error) { function normalizeLinkname (line 48) | func normalizeLinkname(linkname string) string { function volumeNameLen (line 57) | func volumeNameLen(path string) int { function volumeNameToUpper (line 93) | func volumeNameToUpper(path string) string { FILE: internal/chezmoi/path_windows_test.go function TestAbsPathTrimDirPrefix (line 10) | func TestAbsPathTrimDirPrefix(t *testing.T) { function TestNormalizeLinkname (line 50) | func TestNormalizeLinkname(t *testing.T) { FILE: internal/chezmoi/patternset.go type PatternSetIncludeType (line 16) | type PatternSetIncludeType constant PatternSetInclude (line 19) | PatternSetInclude PatternSetIncludeType = true constant PatternSetExclude (line 20) | PatternSetExclude PatternSetIncludeType = false type PatternSetMatchType (line 23) | type PatternSetMatchType constant PatternSetMatchInclude (line 26) | PatternSetMatchInclude PatternSetMatchType = 1 constant PatternSetMatchUnknown (line 27) | PatternSetMatchUnknown PatternSetMatchType = 0 constant PatternSetMatchExclude (line 28) | PatternSetMatchExclude PatternSetMatchType = -1 type PatternSet (line 32) | type PatternSet struct method LogValue (line 46) | func (ps *PatternSet) LogValue() slog.Value { method Add (line 57) | func (ps *PatternSet) Add(pattern string, include PatternSetIncludeTyp... method Glob (line 71) | func (ps *PatternSet) Glob(fileSystem vfs.FS, prefix string) ([]string... method Match (line 99) | func (ps *PatternSet) Match(name string) PatternSetMatchType { function NewPatternSet (line 38) | func NewPatternSet() *PatternSet { FILE: internal/chezmoi/patternset_test.go function TestPatternSet (line 12) | func TestPatternSet(t *testing.T) { function TestPatternSetGlob (line 78) | func TestPatternSetGlob(t *testing.T) { function mustNewPatternSet (line 138) | func mustNewPatternSet(t *testing.T, patterns map[string]PatternSetInclu... FILE: internal/chezmoi/persistentstate.go type PersistentState (line 22) | type PersistentState interface function PersistentStateBucketData (line 34) | func PersistentStateBucketData(s PersistentState, bucket []byte) (map[st... function PersistentStateData (line 50) | func PersistentStateData(s PersistentState, buckets map[string][]byte) (... function PersistentStateGet (line 64) | func PersistentStateGet(s PersistentState, bucket, key []byte, value any... function PersistentStateSet (line 79) | func PersistentStateSet(s PersistentState, bucket, key []byte, value any... FILE: internal/chezmoi/persistentstate_test.go function testPersistentState (line 10) | func testPersistentState(t *testing.T, constructor func() PersistentStat... FILE: internal/chezmoi/readonlysystem.go type ReadOnlySystem (line 10) | type ReadOnlySystem struct method Glob (line 24) | func (s *ReadOnlySystem) Glob(pattern string) ([]string, error) { method Lstat (line 29) | func (s *ReadOnlySystem) Lstat(filename AbsPath) (fs.FileInfo, error) { method RawPath (line 34) | func (s *ReadOnlySystem) RawPath(path AbsPath) (AbsPath, error) { method ReadDir (line 39) | func (s *ReadOnlySystem) ReadDir(name AbsPath) ([]fs.DirEntry, error) { method ReadFile (line 44) | func (s *ReadOnlySystem) ReadFile(name AbsPath) ([]byte, error) { method Readlink (line 49) | func (s *ReadOnlySystem) Readlink(name AbsPath) (string, error) { method Stat (line 54) | func (s *ReadOnlySystem) Stat(name AbsPath) (fs.FileInfo, error) { method UnderlyingFS (line 59) | func (s *ReadOnlySystem) UnderlyingFS() vfs.FS { function NewReadOnlySystem (line 17) | func NewReadOnlySystem(system System) *ReadOnlySystem { FILE: internal/chezmoi/realsystem.go type RealSystemOption (line 20) | type RealSystemOption method Chtimes (line 23) | func (s *RealSystem) Chtimes(name AbsPath, atime, mtime time.Time) error { method Glob (line 28) | func (s *RealSystem) Glob(pattern string) ([]string, error) { method Link (line 33) | func (s *RealSystem) Link(oldName, newName AbsPath) error { method Lstat (line 38) | func (s *RealSystem) Lstat(filename AbsPath) (fs.FileInfo, error) { method Mkdir (line 43) | func (s *RealSystem) Mkdir(name AbsPath, perm fs.FileMode) error { method RawPath (line 48) | func (s *RealSystem) RawPath(absPath AbsPath) (AbsPath, error) { method ReadDir (line 57) | func (s *RealSystem) ReadDir(name AbsPath) ([]fs.DirEntry, error) { method ReadFile (line 62) | func (s *RealSystem) ReadFile(name AbsPath) ([]byte, error) { method Remove (line 67) | func (s *RealSystem) Remove(name AbsPath) error { method RemoveAll (line 72) | func (s *RealSystem) RemoveAll(name AbsPath) error { method Rename (line 77) | func (s *RealSystem) Rename(oldPath, newPath AbsPath) error { method RunCmd (line 82) | func (s *RealSystem) RunCmd(cmd *exec.Cmd) error { method RunScript (line 87) | func (s *RealSystem) RunScript(scriptName RelPath, dir AbsPath, data []b... method Stat (line 138) | func (s *RealSystem) Stat(name AbsPath) (fs.FileInfo, error) { method UnderlyingFS (line 143) | func (s *RealSystem) UnderlyingFS() vfs.FS { method getScriptWorkingDir (line 152) | func (s *RealSystem) getScriptWorkingDir(dir AbsPath) (string, error) { FILE: internal/chezmoi/realsystem_test.go function TestRealSystemGlob (line 16) | func TestRealSystemGlob(t *testing.T) { function pathsToSlashes (line 65) | func pathsToSlashes(paths []string) []string { FILE: internal/chezmoi/realsystem_unix.go type RealSystem (line 19) | type RealSystem struct method Chmod (line 58) | func (s *RealSystem) Chmod(name AbsPath, mode fs.FileMode) error { method Readlink (line 63) | func (s *RealSystem) Readlink(name AbsPath) (string, error) { method WriteFile (line 68) | func (s *RealSystem) WriteFile(filename AbsPath, data []byte, perm fs.... method WriteSymlink (line 110) | func (s *RealSystem) WriteSymlink(oldName string, newName AbsPath) err... function RealSystemWithSafe (line 29) | func RealSystemWithSafe(safe bool) RealSystemOption { function RealSystemWithScriptTempDir (line 37) | func RealSystemWithScriptTempDir(scriptTempDir AbsPath) RealSystemOption { function NewRealSystem (line 44) | func NewRealSystem(fileSystem vfs.FS, options ...RealSystemOption) *Real... function writeFile (line 125) | func writeFile(fileSystem vfs.FS, filename AbsPath, data []byte, perm fs... FILE: internal/chezmoi/realsystem_windows.go type RealSystem (line 13) | type RealSystem struct method Chmod (line 45) | func (s *RealSystem) Chmod(name AbsPath, mode fs.FileMode) error { method Readlink (line 50) | func (s *RealSystem) Readlink(name AbsPath) (string, error) { method WriteFile (line 59) | func (s *RealSystem) WriteFile(filename AbsPath, data []byte, perm fs.... method WriteSymlink (line 64) | func (s *RealSystem) WriteSymlink(oldName string, newName AbsPath) err... function RealSystemWithSafe (line 23) | func RealSystemWithSafe(safe bool) RealSystemOption { function RealSystemWithScriptTempDir (line 29) | func RealSystemWithScriptTempDir(scriptTempDir AbsPath) RealSystemOption { function NewRealSystem (line 34) | func NewRealSystem(fileSystem vfs.FS, options ...RealSystemOption) *Real... FILE: internal/chezmoi/recursivemerge.go function recursiveCopy (line 4) | func recursiveCopy(v any) any { function RecursiveMerge (line 21) | func RecursiveMerge(dest, source map[string]any) { FILE: internal/chezmoi/recursivemerge_test.go function TestRecursiveMerge (line 9) | func TestRecursiveMerge(t *testing.T) { function TestRecursiveMergeCopies (line 57) | func TestRecursiveMergeCopies(t *testing.T) { FILE: internal/chezmoi/refreshexternals.go type RefreshExternals (line 10) | type RefreshExternals method Set (line 28) | func (re *RefreshExternals) Set(s string) error { method String (line 45) | func (re RefreshExternals) String() string { method Type (line 58) | func (re RefreshExternals) Type() string { constant RefreshExternalsAuto (line 13) | RefreshExternalsAuto RefreshExternals = iota constant RefreshExternalsAlways (line 14) | RefreshExternalsAlways constant RefreshExternalsNever (line 15) | RefreshExternalsNever FILE: internal/chezmoi/relpath.go type RelPath (line 15) | type RelPath struct method AppendString (line 27) | func (p RelPath) AppendString(s string) RelPath { method Base (line 32) | func (p RelPath) Base() string { method Dir (line 37) | func (p RelPath) Dir() RelPath { method IsEmpty (line 42) | func (p RelPath) IsEmpty() bool { method Ext (line 47) | func (p RelPath) Ext() string { method HasDirPrefix (line 52) | func (p RelPath) HasDirPrefix(dirPrefix RelPath) bool { method Join (line 57) | func (p RelPath) Join(relPaths ...RelPath) RelPath { method JoinString (line 69) | func (p RelPath) JoinString(ss ...string) RelPath { method Len (line 77) | func (p RelPath) Len() int { method MarshalText (line 82) | func (p RelPath) MarshalText() ([]byte, error) { method Slice (line 87) | func (p RelPath) Slice(begin, end int) RelPath { method SourceRelPath (line 92) | func (p RelPath) SourceRelPath() SourceRelPath { method SourceRelDirPath (line 97) | func (p RelPath) SourceRelDirPath() SourceRelPath { method Split (line 102) | func (p RelPath) Split() (dirRelPath, fileRelPath RelPath) { method SplitAll (line 108) | func (p RelPath) SplitAll() []RelPath { method String (line 117) | func (p RelPath) String() string { method TrimDirPrefix (line 122) | func (p RelPath) TrimDirPrefix(dirPrefix RelPath) (RelPath, error) { function NewRelPath (line 20) | func NewRelPath(relPath string) RelPath { function CompareRelPaths (line 133) | func CompareRelPaths(a, b RelPath) int { FILE: internal/chezmoi/sourcerelpath.go type SourceRelPath (line 11) | type SourceRelPath struct method Dir (line 32) | func (p SourceRelPath) Dir() SourceRelPath { method IsEmpty (line 40) | func (p SourceRelPath) IsEmpty() bool { method Join (line 45) | func (p SourceRelPath) Join(sourceRelPaths ...SourceRelPath) SourceRel... method MarshalText (line 60) | func (p SourceRelPath) MarshalText() ([]byte, error) { method RelPath (line 65) | func (p SourceRelPath) RelPath() RelPath { method Split (line 70) | func (p SourceRelPath) Split() (dirSourceRelPath, fileSourceRelPath So... method String (line 75) | func (p SourceRelPath) String() string { method TargetRelPath (line 80) | func (p SourceRelPath) TargetRelPath(encryptedSuffix string) (RelPath,... function NewSourceRelDirPath (line 17) | func NewSourceRelDirPath(relPath string) SourceRelPath { function NewSourceRelPath (line 25) | func NewSourceRelPath(relPath string) SourceRelPath { FILE: internal/chezmoi/sourcerelpath_test.go function TestSourceRelPath (line 9) | func TestSourceRelPath(t *testing.T) { FILE: internal/chezmoi/sourcestate.go type ExternalType (line 42) | type ExternalType constant ExternalTypeArchive (line 46) | ExternalTypeArchive ExternalType = "archive" constant ExternalTypeArchiveFile (line 47) | ExternalTypeArchiveFile ExternalType = "archive-file" constant ExternalTypeFile (line 48) | ExternalTypeFile ExternalType = "file" constant ExternalTypeGitRepo (line 49) | ExternalTypeGitRepo ExternalType = "git-repo" type ExternalArchive (line 64) | type ExternalArchive struct type ExternalChecksum (line 68) | type ExternalChecksum struct type ExternalClone (line 78) | type ExternalClone struct type ExternalFilter (line 82) | type ExternalFilter struct type ExternalPull (line 87) | type ExternalPull struct type WarnFunc (line 92) | type WarnFunc type External (line 95) | type External struct method IsExternal (line 3051) | func (e *External) IsExternal() bool { method Path (line 3055) | func (e *External) Path() AbsPath { method OriginString (line 3059) | func (e *External) OriginString() string { type SourceState (line 121) | type SourceState struct method Add (line 384) | func (s *SourceState) Add( method AddDestAbsPathInfos (line 716) | func (s *SourceState) AddDestAbsPathInfos( method Apply (line 765) | func (s *SourceState) Apply( method Encryption (line 856) | func (s *SourceState) Encryption() Encryption { method ExecuteTemplateData (line 870) | func (s *SourceState) ExecuteTemplateData(options ExecuteTemplateDataO... method ForEach (line 903) | func (s *SourceState) ForEach(f func(RelPath, SourceStateEntry) error)... method Get (line 910) | func (s *SourceState) Get(targetRelPath RelPath) SourceStateEntry { method Ignore (line 915) | func (s *SourceState) Ignore(targetRelPath RelPath) bool { method Ignored (line 926) | func (s *SourceState) Ignored() []RelPath { method MustEntry (line 932) | func (s *SourceState) MustEntry(targetRelPath RelPath) SourceStateEntry { method PostApply (line 941) | func (s *SourceState) PostApply( method Read (line 999) | func (s *SourceState) Read(ctx context.Context, options *ReadOptions) ... method TargetRelPaths (line 1384) | func (s *SourceState) TargetRelPaths() []RelPath { method TemplateData (line 1400) | func (s *SourceState) TemplateData() map[string]any { method addExternal (line 1422) | func (s *SourceState) addExternal(sourceAbsPath, parentAbsPath AbsPath... method addExternalDir (line 1475) | func (s *SourceState) addExternalDir(ctx context.Context, externalsDir... method addPatterns (line 1510) | func (s *SourceState) addPatterns(patternSet *PatternSet, sourceAbsPat... method addTemplateData (line 1545) | func (s *SourceState) addTemplateData(sourceAbsPath AbsPath) error { method addTemplateDataDir (line 1569) | func (s *SourceState) addTemplateDataDir(sourceAbsPath AbsPath, fileIn... method addTemplatesDir (line 1602) | func (s *SourceState) addTemplatesDir(ctx context.Context, templatesDi... method executeTemplate (line 1652) | func (s *SourceState) executeTemplate(templateAbsPath AbsPath) ([]byte... method getExternalDataRaw (line 1665) | func (s *SourceState) getExternalDataRaw( method getExternalDataAndURL (line 1757) | func (s *SourceState) getExternalDataAndURL( method getExternalData (line 1786) | func (s *SourceState) getExternalData( method newSourceStateDir (line 1895) | func (s *SourceState) newSourceStateDir(absPath AbsPath, sourceRelPath... method newCreateTargetStateEntryFunc (line 1910) | func (s *SourceState) newCreateTargetStateEntryFunc( method newFileTargetStateEntryFunc (line 1956) | func (s *SourceState) newFileTargetStateEntryFunc( method newModifyTargetStateEntryFunc (line 2010) | func (s *SourceState) newModifyTargetStateEntryFunc( method newRemoveTargetStateEntryFunc (line 2123) | func (s *SourceState) newRemoveTargetStateEntryFunc() TargetStateEntry... method newScriptTargetStateEntryFunc (line 2131) | func (s *SourceState) newScriptTargetStateEntryFunc( method newSymlinkTargetStateEntryFunc (line 2172) | func (s *SourceState) newSymlinkTargetStateEntryFunc( method newSourceStateFile (line 2204) | func (s *SourceState) newSourceStateFile( method newSourceStateDirEntry (line 2277) | func (s *SourceState) newSourceStateDirEntry( method newSourceStateFileEntryFromFile (line 2303) | func (s *SourceState) newSourceStateFileEntryFromFile( method newSourceStateFileEntryFromSymlink (line 2376) | func (s *SourceState) newSourceStateFileEntryFromSymlink( method populateImplicitParentDirs (line 2428) | func (s *SourceState) populateImplicitParentDirs( method readExternal (line 2447) | func (s *SourceState) readExternal( method readExternalArchive (line 2472) | func (s *SourceState) readExternalArchive( method readExternalArchiveData (line 2645) | func (s *SourceState) readExternalArchiveData( method readExternalArchiveFile (line 2676) | func (s *SourceState) readExternalArchiveFile( method readExternalDir (line 2787) | func (s *SourceState) readExternalDir( method readExternalFile (line 2887) | func (s *SourceState) readExternalFile( method readScriptsDir (line 2926) | func (s *SourceState) readScriptsDir(ctx context.Context, scriptsDirAb... method readVersionFile (line 3009) | func (s *SourceState) readVersionFile(sourceAbsPath AbsPath) error { method sourceStateEntry (line 3029) | func (s *SourceState) sourceStateEntry( type SourceStateOption (line 158) | type SourceStateOption function WithBaseSystem (line 161) | func WithBaseSystem(baseSystem System) SourceStateOption { function WithCacheDir (line 168) | func WithCacheDir(cacheDirAbsPath AbsPath) SourceStateOption { function WithDefaultTemplateDataFunc (line 175) | func WithDefaultTemplateDataFunc(defaultTemplateDataFunc func() map[stri... function WithDestDir (line 182) | func WithDestDir(destDirAbsPath AbsPath) SourceStateOption { function WithEncryption (line 189) | func WithEncryption(encryption Encryption) SourceStateOption { function WithHTTPClient (line 196) | func WithHTTPClient(httpClient *http.Client) SourceStateOption { function WithInterpreters (line 203) | func WithInterpreters(interpreters map[string]Interpreter) SourceStateOp... function WithLogger (line 210) | func WithLogger(logger *slog.Logger) SourceStateOption { function WithMode (line 217) | func WithMode(mode Mode) SourceStateOption { function WithPriorityTemplateData (line 224) | func WithPriorityTemplateData(priorityTemplateData map[string]any) Sourc... function WithReadTemplateData (line 231) | func WithReadTemplateData(readTemplateData bool) SourceStateOption { function WithReadTemplates (line 238) | func WithReadTemplates(readTemplates bool) SourceStateOption { function WithScriptTempDir (line 245) | func WithScriptTempDir(scriptDirAbsPath AbsPath) SourceStateOption { function WithSourceDir (line 252) | func WithSourceDir(sourceDirAbsPath AbsPath) SourceStateOption { function WithSystem (line 259) | func WithSystem(system System) SourceStateOption { function WithTemplateDataOnly (line 266) | func WithTemplateDataOnly(templateDataOnly bool) SourceStateOption { function WithTemplateFuncs (line 273) | func WithTemplateFuncs(templateFuncs template.FuncMap) SourceStateOption { function WithTemplateOptions (line 280) | func WithTemplateOptions(templateOptions []string) SourceStateOption { function WithUmask (line 287) | func WithUmask(umask fs.FileMode) SourceStateOption { function WithVersion (line 294) | func WithVersion(version semver.Version) SourceStateOption { function WithWarnFunc (line 301) | func WithWarnFunc(warnFunc WarnFunc) SourceStateOption { type TargetStateEntryFunc (line 309) | type TargetStateEntryFunc function NewSourceState (line 312) | func NewSourceState(options ...SourceStateOption) *SourceState { type PreAddFunc (line 337) | type PreAddFunc type ReplaceFunc (line 340) | type ReplaceFunc type AddOptions (line 343) | type AddOptions struct method shouldBeExact (line 366) | func (o *AddOptions) shouldBeExact(targetRelPath RelPath) bool { type PreApplyFunc (line 755) | type PreApplyFunc type ApplyOptions (line 758) | type ApplyOptions struct type ExecuteTemplateDataOptions (line 861) | type ExecuteTemplateDataOptions struct type ReadOptions (line 992) | type ReadOptions struct function canonicalSourceStateEntry (line 3069) | func canonicalSourceStateEntry(sourceStateEntries []SourceStateEntry) (S... function isAppleDoubleFile (line 3116) | func isAppleDoubleFile(name string, contents []byte) bool { FILE: internal/chezmoi/sourcestate_test.go function TestSourceStateAdd (line 26) | func TestSourceStateAdd(t *testing.T) { function TestSourceStateAddInExternal (line 577) | func TestSourceStateAddInExternal(t *testing.T) { function TestSourceStateApplyAll (line 643) | func TestSourceStateApplyAll(t *testing.T) { function TestSourceStateExecuteTemplateData (line 863) | func TestSourceStateExecuteTemplateData(t *testing.T) { function TestSourceStateRead (line 912) | func TestSourceStateRead(t *testing.T) { function TestSourceStateReadExternal (line 1580) | func TestSourceStateReadExternal(t *testing.T) { function TestSourceStateReadScriptsConcurrent (line 1674) | func TestSourceStateReadScriptsConcurrent(t *testing.T) { function TestSourceStateReadExternalCache (line 1710) | func TestSourceStateReadExternalCache(t *testing.T) { function TestSourceStateTargetRelPaths (line 1787) | func TestSourceStateTargetRelPaths(t *testing.T) { function TestTemplateOptionsParseDirectives (line 1842) | func TestTemplateOptionsParseDirectives(t *testing.T) { function TestSourceStateExternalErrors (line 2041) | func TestSourceStateExternalErrors(t *testing.T) { method applyAll (line 2146) | func (s *SourceState) applyAll( function requireEvaluateAll (line 2165) | func requireEvaluateAll(t *testing.T, s *SourceState, destSystem System) { function withEntries (line 2199) | func withEntries(sourceEntries map[RelPath]SourceStateEntry) SourceState... function withIgnore (line 2208) | func withIgnore(ignore *PatternSet) SourceStateOption { function withIgnoredRelPathStrs (line 2214) | func withIgnoredRelPathStrs(relPathStrs ...string) SourceStateOption { function withRemove (line 2222) | func withRemove(remove *PatternSet) SourceStateOption { function withUserTemplateData (line 2229) | func withUserTemplateData(templateData map[string]any) SourceStateOption { function withTemplates (line 2235) | func withTemplates(templates map[string]*Template) SourceStateOption { function manyScripts (line 2241) | func manyScripts(amount int) map[string]any { FILE: internal/chezmoi/sourcestateentry.go type SourceAttr (line 12) | type SourceAttr struct type SourceStateOrigin (line 20) | type SourceStateOrigin interface type SourceStateOriginAbsPath (line 27) | type SourceStateOriginAbsPath method IsExternal (line 300) | func (SourceStateOriginAbsPath) IsExternal() bool { method Path (line 305) | func (s SourceStateOriginAbsPath) Path() AbsPath { method OriginString (line 310) | func (s SourceStateOriginAbsPath) OriginString() string { type SourceStateEntry (line 30) | type SourceStateEntry interface type SourceStateCommand (line 40) | type SourceStateCommand struct method Evaluate (line 93) | func (s *SourceStateCommand) Evaluate() error { method LogValue (line 98) | func (s *SourceStateCommand) LogValue() slog.Value { method Order (line 106) | func (s *SourceStateCommand) Order() ScriptOrder { method Origin (line 111) | func (s *SourceStateCommand) Origin() SourceStateOrigin { method SourceRelPath (line 116) | func (s *SourceStateCommand) SourceRelPath() SourceRelPath { method TargetStateEntry (line 121) | func (s *SourceStateCommand) TargetStateEntry(destSystem System, destD... type SourceStateDir (line 49) | type SourceStateDir struct method Attr (line 131) | func (s *SourceStateDir) Attr() DirAttr { method Evaluate (line 136) | func (s *SourceStateDir) Evaluate() error { method LogValue (line 141) | func (s *SourceStateDir) LogValue() slog.Value { method Order (line 149) | func (s *SourceStateDir) Order() ScriptOrder { method Origin (line 154) | func (s *SourceStateDir) Origin() SourceStateOrigin { method SourceRelPath (line 159) | func (s *SourceStateDir) SourceRelPath() SourceRelPath { method TargetStateEntry (line 164) | func (s *SourceStateDir) TargetStateEntry(destSystem System, destDirAb... type SourceStateFile (line 57) | type SourceStateFile struct method Attr (line 169) | func (s *SourceStateFile) Attr() FileAttr { method Contents (line 174) | func (s *SourceStateFile) Contents() ([]byte, error) { method ContentsSHA256 (line 179) | func (s *SourceStateFile) ContentsSHA256() ([32]byte, error) { method Evaluate (line 184) | func (s *SourceStateFile) Evaluate() error { method LogValue (line 195) | func (s *SourceStateFile) LogValue() slog.Value { method Order (line 214) | func (s *SourceStateFile) Order() ScriptOrder { method Origin (line 219) | func (s *SourceStateFile) Origin() SourceStateOrigin { method SourceRelPath (line 224) | func (s *SourceStateFile) SourceRelPath() SourceRelPath { method TargetStateEntry (line 229) | func (s *SourceStateFile) TargetStateEntry(destSystem System, destDirA... type SourceStateImplicitDir (line 72) | type SourceStateImplicitDir struct method Evaluate (line 238) | func (s *SourceStateImplicitDir) Evaluate() error { method LogValue (line 243) | func (s *SourceStateImplicitDir) LogValue() slog.Value { method Order (line 248) | func (s *SourceStateImplicitDir) Order() ScriptOrder { method Origin (line 253) | func (s *SourceStateImplicitDir) Origin() SourceStateOrigin { method SourceRelPath (line 258) | func (s *SourceStateImplicitDir) SourceRelPath() SourceRelPath { method TargetStateEntry (line 263) | func (s *SourceStateImplicitDir) TargetStateEntry(destSystem System, d... type SourceStateRemove (line 78) | type SourceStateRemove struct method Evaluate (line 268) | func (s *SourceStateRemove) Evaluate() error { method LogValue (line 273) | func (s *SourceStateRemove) LogValue() slog.Value { method Order (line 280) | func (s *SourceStateRemove) Order() ScriptOrder { method Origin (line 285) | func (s *SourceStateRemove) Origin() SourceStateOrigin { method SourceRelPath (line 290) | func (s *SourceStateRemove) SourceRelPath() SourceRelPath { method TargetStateEntry (line 295) | func (s *SourceStateRemove) TargetStateEntry(destSystem System, destDi... type SourceStateOriginRemove (line 90) | type SourceStateOriginRemove struct method Path (line 315) | func (s SourceStateOriginRemove) Path() AbsPath { method OriginString (line 320) | func (s SourceStateOriginRemove) OriginString() string { method IsExternal (line 325) | func (SourceStateOriginRemove) IsExternal() bool { FILE: internal/chezmoi/sourcestatetreenode.go type SourceStateEntryTreeNode (line 12) | type SourceStateEntryTreeNode struct method Get (line 23) | func (n *SourceStateEntryTreeNode) Get(relPath RelPath) SourceStateEnt... method GetNodes (line 32) | func (n *SourceStateEntryTreeNode) GetNodes(targetRelPath RelPath) []*... method ForEach (line 51) | func (n *SourceStateEntryTreeNode) ForEach(targetRelPath RelPath, f fu... method ForEachNode (line 61) | func (n *SourceStateEntryTreeNode) ForEachNode(targetRelPath RelPath, ... method GetMap (line 82) | func (n *SourceStateEntryTreeNode) GetMap() map[RelPath]SourceStateEnt... method MkdirAll (line 93) | func (n *SourceStateEntryTreeNode) MkdirAll( method Set (line 146) | func (n *SourceStateEntryTreeNode) Set(targetRelPath RelPath, sourceSt... function NewSourceStateEntryTreeNode (line 18) | func NewSourceStateEntryTreeNode() *SourceStateEntryTreeNode { FILE: internal/chezmoi/sourcestatetreenode_test.go function TestSourceStateEntryTreeNodeEmpty (line 10) | func TestSourceStateEntryTreeNodeEmpty(t *testing.T) { function TestSourceStateEntryTreeNodeSingle (line 19) | func TestSourceStateEntryTreeNodeSingle(t *testing.T) { function TestSourceStateEntryTreeNodeMultiple (line 32) | func TestSourceStateEntryTreeNodeMultiple(t *testing.T) { FILE: internal/chezmoi/system.go type RunScriptOptions (line 17) | type RunScriptOptions struct type System (line 25) | type System interface type emptySystemMixin (line 48) | type emptySystemMixin struct method Glob (line 50) | func (emptySystemMixin) Glob(pattern string) ([]string, error) {... method Lstat (line 51) | func (emptySystemMixin) Lstat(name AbsPath) (fs.FileInfo, error) {... method RawPath (line 52) | func (emptySystemMixin) RawPath(path AbsPath) (AbsPath, error) {... method ReadDir (line 53) | func (emptySystemMixin) ReadDir(name AbsPath) ([]fs.DirEntry, error) {... method ReadFile (line 54) | func (emptySystemMixin) ReadFile(name AbsPath) ([]byte, error) {... method Readlink (line 55) | func (emptySystemMixin) Readlink(name AbsPath) (string, error) {... method Stat (line 56) | func (emptySystemMixin) Stat(name AbsPath) (fs.FileInfo, error) {... method UnderlyingFS (line 57) | func (emptySystemMixin) UnderlyingFS() vfs.FS {... type noUpdateSystemMixin (line 60) | type noUpdateSystemMixin struct method Chmod (line 62) | func (noUpdateSystemMixin) Chmod(name AbsPath, perm fs.FileMode) error { method Chtimes (line 66) | func (noUpdateSystemMixin) Chtimes(name AbsPath, atime, mtime time.Tim... method Link (line 70) | func (noUpdateSystemMixin) Link(oldName, newName AbsPath) error { method Mkdir (line 74) | func (noUpdateSystemMixin) Mkdir(name AbsPath, perm fs.FileMode) error { method Remove (line 78) | func (noUpdateSystemMixin) Remove(name AbsPath) error { method RemoveAll (line 82) | func (noUpdateSystemMixin) RemoveAll(name AbsPath) error { method Rename (line 86) | func (noUpdateSystemMixin) Rename(oldPath, newPath AbsPath) error { method RunCmd (line 90) | func (noUpdateSystemMixin) RunCmd(cmd *exec.Cmd) error { method RunScript (line 94) | func (noUpdateSystemMixin) RunScript(scriptName RelPath, dir AbsPath, ... method WriteFile (line 98) | func (noUpdateSystemMixin) WriteFile(filename AbsPath, data []byte, pe... method WriteSymlink (line 102) | func (noUpdateSystemMixin) WriteSymlink(oldName string, newName AbsPat... function MkdirAll (line 107) | func MkdirAll(system System, absPath AbsPath, perm fs.FileMode) error { type WalkFunc (line 150) | type WalkFunc function Walk (line 156) | func Walk(system System, rootAbsPath AbsPath, walkFunc WalkFunc) error { type ConcurrentWalkSourceDirFunc (line 165) | type ConcurrentWalkSourceDirFunc function WalkSourceDir (line 177) | func WalkSourceDir(system System, sourceDirAbsPath AbsPath, walkFunc Wal... function walkSourceDirHelper (line 202) | func walkSourceDirHelper(system System, name AbsPath, fileInfo fs.FileIn... function concurrentWalkSourceDir (line 239) | func concurrentWalkSourceDir( function compareDirEntries (line 293) | func compareDirEntries(a, b fs.DirEntry) int { FILE: internal/chezmoi/system_test.go function TestConcurrentWalkSourceDir (line 17) | func TestConcurrentWalkSourceDir(t *testing.T) { function TestWalkSourceDir (line 48) | func TestWalkSourceDir(t *testing.T) { FILE: internal/chezmoi/targetstateentry.go type TargetStateEntry (line 15) | type TargetStateEntry interface type TargetStateModifyDirWithCmd (line 29) | type TargetStateModifyDirWithCmd struct method Apply (line 86) | func (t *TargetStateModifyDirWithCmd) Apply( method EntryState (line 115) | func (t *TargetStateModifyDirWithCmd) EntryState(umask fs.FileMode) (*... method Evaluate (line 123) | func (t *TargetStateModifyDirWithCmd) Evaluate() error { method SkipApply (line 128) | func (t *TargetStateModifyDirWithCmd) SkipApply(persistentState Persis... method SourceAttr (line 151) | func (t *TargetStateModifyDirWithCmd) SourceAttr() SourceAttr { type TargetStateDir (line 37) | type TargetStateDir struct method Apply (line 156) | func (t *TargetStateDir) Apply( method EntryState (line 174) | func (t *TargetStateDir) EntryState(umask fs.FileMode) (*EntryState, e... method Evaluate (line 182) | func (t *TargetStateDir) Evaluate() error { method SkipApply (line 187) | func (t *TargetStateDir) SkipApply(persistentState PersistentState, ta... method SourceAttr (line 192) | func (t *TargetStateDir) SourceAttr() SourceAttr { type TargetStateFile (line 43) | type TargetStateFile struct method Apply (line 197) | func (t *TargetStateFile) Apply( method Contents (line 238) | func (t *TargetStateFile) Contents() ([]byte, error) { method ContentsSHA256 (line 243) | func (t *TargetStateFile) ContentsSHA256() ([32]byte, error) { method EntryState (line 248) | func (t *TargetStateFile) EntryState(umask fs.FileMode) (*EntryState, ... method Evaluate (line 272) | func (t *TargetStateFile) Evaluate() error { method Perm (line 283) | func (t *TargetStateFile) Perm(umask fs.FileMode) fs.FileMode { method SkipApply (line 288) | func (t *TargetStateFile) SkipApply(persistentState PersistentState, t... method SourceAttr (line 293) | func (t *TargetStateFile) SourceAttr() SourceAttr { type TargetStateRemove (line 53) | type TargetStateRemove struct method Apply (line 298) | func (t *TargetStateRemove) Apply( method EntryState (line 310) | func (t *TargetStateRemove) EntryState(umask fs.FileMode) (*EntryState... method Evaluate (line 317) | func (t *TargetStateRemove) Evaluate() error { method SkipApply (line 322) | func (t *TargetStateRemove) SkipApply(persistentState PersistentState,... method SourceAttr (line 327) | func (t *TargetStateRemove) SourceAttr() SourceAttr { type TargetStateScript (line 56) | type TargetStateScript struct method Apply (line 332) | func (t *TargetStateScript) Apply( method Contents (line 385) | func (t *TargetStateScript) Contents() ([]byte, error) { method ContentsSHA256 (line 390) | func (t *TargetStateScript) ContentsSHA256() ([32]byte, error) { method EntryState (line 395) | func (t *TargetStateScript) EntryState(umask fs.FileMode) (*EntryState... method Evaluate (line 407) | func (t *TargetStateScript) Evaluate() error { method SkipApply (line 413) | func (t *TargetStateScript) SkipApply(persistentState PersistentState,... method SourceAttr (line 458) | func (t *TargetStateScript) SourceAttr() SourceAttr { type TargetStateSymlink (line 67) | type TargetStateSymlink struct method Apply (line 463) | func (t *TargetStateSymlink) Apply( method EntryState (line 498) | func (t *TargetStateSymlink) EntryState(umask fs.FileMode) (*EntryStat... method Evaluate (line 517) | func (t *TargetStateSymlink) Evaluate() error { method Linkname (line 522) | func (t *TargetStateSymlink) Linkname() (string, error) { method SkipApply (line 527) | func (t *TargetStateSymlink) SkipApply(persistentState PersistentState... method SourceAttr (line 532) | func (t *TargetStateSymlink) SourceAttr() SourceAttr { type ModifyDirWithCmdState (line 74) | type ModifyDirWithCmdState struct type ScriptState (line 80) | type ScriptState struct FILE: internal/chezmoi/targetstateentry_test.go function TestTargetStateEntryApply (line 19) | func TestTargetStateEntryApply(t *testing.T) { function targetStateTest (line 115) | func targetStateTest(t *testing.T, ts TargetStateEntry) []vfst.PathTest { FILE: internal/chezmoi/tarwritersystem.go type TarWriterSystem (line 11) | type TarWriterSystem struct method Close (line 28) | func (s *TarWriterSystem) Close() error { method Mkdir (line 33) | func (s *TarWriterSystem) Mkdir(name AbsPath, perm fs.FileMode) error { method RunCmd (line 42) | func (s *TarWriterSystem) RunCmd(cmd *exec.Cmd) error { method RunScript (line 47) | func (s *TarWriterSystem) RunScript(scriptName RelPath, dir AbsPath, d... method WriteFile (line 52) | func (s *TarWriterSystem) WriteFile(filename AbsPath, data []byte, per... method WriteSymlink (line 66) | func (s *TarWriterSystem) WriteSymlink(oldName string, newName AbsPath... function NewTarWriterSystem (line 20) | func NewTarWriterSystem(w io.Writer, headerTemplate tar.Header) *TarWrit... FILE: internal/chezmoi/tarwritersystem_test.go function TestTarWriterSystem (line 19) | func TestTarWriterSystem(t *testing.T) { FILE: internal/chezmoi/template.go type Template (line 21) | type Template struct method AddParseTree (line 93) | func (t *Template) AddParseTree(tmpl *Template) (*Template, error) { method Execute (line 100) | func (t *Template) Execute(data any) ([]byte, error) { method ExecuteString (line 123) | func (t *Template) ExecuteString(data any) (string, error) { type TemplateOptions (line 28) | type TemplateOptions struct method parseAndRemoveDirectives (line 134) | func (o *TemplateOptions) parseAndRemoveDirectives(data []byte) ([]byt... function ParseTemplate (line 40) | func ParseTemplate(name string, data []byte, options TemplateOptions) (*... function removeMatches (line 197) | func removeMatches(data []byte, matchesIndexes [][]int) []byte { function replaceLineEndings (line 209) | func replaceLineEndings(s, lineEnding string) string { FILE: internal/chezmoi/template_test.go function TestTemplateParseAndExecute (line 11) | func TestTemplateParseAndExecute(t *testing.T) { FILE: internal/chezmoi/templatefuncs.go function AbortEmptyTemplateFunc (line 7) | func AbortEmptyTemplateFunc() string { FILE: internal/chezmoi/transparentencryption.go type TransparentEncryption (line 12) | type TransparentEncryption struct method Decrypt (line 15) | func (t TransparentEncryption) Decrypt(ciphertext []byte) ([]byte, err... method DecryptToFile (line 20) | func (t TransparentEncryption) DecryptToFile(plaintextAbsPath AbsPath,... method Encrypt (line 25) | func (t TransparentEncryption) Encrypt(plaintext []byte) ([]byte, erro... method EncryptFile (line 30) | func (t TransparentEncryption) EncryptFile(plaintextAbsPath AbsPath) (... method EncryptedSuffix (line 35) | func (t TransparentEncryption) EncryptedSuffix() string { FILE: internal/chezmoi/zipwritersystem.go type ZIPWriterSystem (line 13) | type ZIPWriterSystem struct method Close (line 31) | func (s *ZIPWriterSystem) Close() error { method Mkdir (line 36) | func (s *ZIPWriterSystem) Mkdir(name AbsPath, perm fs.FileMode) error { method RunCmd (line 47) | func (s *ZIPWriterSystem) RunCmd(cmd *exec.Cmd) error { method RunScript (line 52) | func (s *ZIPWriterSystem) RunScript(scriptName RelPath, dir AbsPath, d... method WriteFile (line 57) | func (s *ZIPWriterSystem) WriteFile(filename AbsPath, data []byte, per... method WriteSymlink (line 74) | func (s *ZIPWriterSystem) WriteSymlink(oldName string, newName AbsPath... function NewZIPWriterSystem (line 23) | func NewZIPWriterSystem(w io.Writer, modified time.Time) *ZIPWriterSystem { FILE: internal/chezmoi/zipwritersystem_test.go function TestZIPWriterSystem (line 20) | func TestZIPWriterSystem(t *testing.T) { FILE: internal/chezmoiassert/chezmoiassert.go function PanicsWithError (line 12) | func PanicsWithError(tb testing.TB, expected error, fn func(), msgAndArg... function PanicsWithErrorString (line 25) | func PanicsWithErrorString(tb testing.TB, errString string, fn func(), m... function formatMsgAndArgs (line 38) | func formatMsgAndArgs(dflt string, msgAndArgs ...any) string { FILE: internal/chezmoibubbles/boolinputmodel.go type BoolInputModel (line 12) | type BoolInputModel struct method Canceled (line 39) | func (m BoolInputModel) Canceled() bool { method Init (line 43) | func (m BoolInputModel) Init() tea.Cmd { method Update (line 47) | func (m BoolInputModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method Value (line 68) | func (m BoolInputModel) Value() bool { method View (line 77) | func (m BoolInputModel) View() string { function NewBoolInputModel (line 18) | func NewBoolInputModel(prompt string, defaultValue *bool) BoolInputModel { FILE: internal/chezmoibubbles/boolinputmodel_test.go function TestBoolInputModel (line 9) | func TestBoolInputModel(t *testing.T) { FILE: internal/chezmoibubbles/chezmoibubbles_test.go function makeKeyMsg (line 18) | func makeKeyMsg(r rune) tea.Msg { function makeKeyMsgs (line 31) | func makeKeyMsgs(s string) []tea.Msg { function testRunModelWithInput (line 39) | func testRunModelWithInput[M tea.Model](t *testing.T, model M, input str... function newValue (line 50) | func newValue[T any](value T) *T { FILE: internal/chezmoibubbles/choiceinputmodel.go type ChoiceInputModel (line 14) | type ChoiceInputModel struct method Canceled (line 51) | func (m ChoiceInputModel) Canceled() bool { method Init (line 55) | func (m ChoiceInputModel) Init() tea.Cmd { method Update (line 59) | func (m ChoiceInputModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method Value (line 85) | func (m ChoiceInputModel) Value() string { method View (line 93) | func (m ChoiceInputModel) View() string { function NewChoiceInputModel (line 21) | func NewChoiceInputModel(prompt string, choices []string, defaultValue *... FILE: internal/chezmoibubbles/choiceinputmodel_test.go function TestChoiceInputModel (line 9) | func TestChoiceInputModel(t *testing.T) { FILE: internal/chezmoibubbles/intinputmodel.go type IntInputModel (line 10) | type IntInputModel struct method Canceled (line 40) | func (m IntInputModel) Canceled() bool { method Init (line 44) | func (m IntInputModel) Init() tea.Cmd { method Update (line 48) | func (m IntInputModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method Value (line 66) | func (m IntInputModel) Value() int64 { method View (line 75) | func (m IntInputModel) View() string { function NewIntInputModel (line 16) | func NewIntInputModel(prompt string, defaultValue *int64) IntInputModel { FILE: internal/chezmoibubbles/intinputmodel_test.go function TestIntInputModel (line 9) | func TestIntInputModel(t *testing.T) { FILE: internal/chezmoibubbles/multichoiceinputmodel.go type item (line 27) | type item struct type keymap (line 32) | type keymap struct method FullHelp (line 324) | func (k keymap) FullHelp() [][]key.Binding { return nil } method ShortHelp (line 327) | func (k keymap) ShortHelp() []key.Binding { type MultichoiceInputModel (line 46) | type MultichoiceInputModel struct method Init (line 152) | func (m MultichoiceInputModel) Init() tea.Cmd { method Update (line 156) | func (m MultichoiceInputModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 235) | func (m MultichoiceInputModel) View() string { method Value (line 278) | func (m MultichoiceInputModel) Value() []string { method deselectAll (line 294) | func (m MultichoiceInputModel) deselectAll() MultichoiceInputModel { method selectAll (line 302) | func (m MultichoiceInputModel) selectAll() MultichoiceInputModel { constant height (line 62) | height = 10 constant cursor (line 63) | cursor = "> " constant selectedPrefix (line 64) | selectedPrefix = "✓ " constant unselectedPrefix (line 65) | unselectedPrefix = "• " constant cursorPrefix (line 66) | cursorPrefix = "• " function NewMultichoiceInputModel (line 76) | func NewMultichoiceInputModel(prompt string, choices []string, defaultVa... function clamp (line 313) | func clamp(x, low, high int) int { FILE: internal/chezmoibubbles/passwordinputmodel.go type PasswordInputModel (line 8) | type PasswordInputModel struct method Canceled (line 24) | func (m PasswordInputModel) Canceled() bool { method Init (line 28) | func (m PasswordInputModel) Init() tea.Cmd { method Update (line 32) | func (m PasswordInputModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method Value (line 47) | func (m PasswordInputModel) Value() string { method View (line 51) | func (m PasswordInputModel) View() string { function NewPasswordInputModel (line 13) | func NewPasswordInputModel(prompt, placeholder string) PasswordInputModel { FILE: internal/chezmoibubbles/passwordinputmodel_test.go function TestPasswordInputModel (line 9) | func TestPasswordInputModel(t *testing.T) { FILE: internal/chezmoibubbles/stringinputmodel.go type StringInputModel (line 8) | type StringInputModel struct method Canceled (line 28) | func (m StringInputModel) Canceled() bool { method Init (line 32) | func (m StringInputModel) Init() tea.Cmd { method Update (line 36) | func (m StringInputModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method Value (line 51) | func (m StringInputModel) Value() string { method View (line 59) | func (m StringInputModel) View() string { function NewStringInputModel (line 14) | func NewStringInputModel(prompt string, defaultValue *string) StringInpu... FILE: internal/chezmoibubbles/stringinputmodel_test.go function TestStringInputModel (line 9) | func TestStringInputModel(t *testing.T) { FILE: internal/chezmoierrors/chezmoierrors.go function Combine (line 11) | func Combine(errs ...error) error { function CombineFunc (line 30) | func CombineFunc(errp *error, f func() error) { //nolint:gocritic FILE: internal/chezmoigit/status.go type ParseError (line 10) | type ParseError method Error (line 127) | func (e ParseError) Error() string { type OrdinaryStatus (line 13) | type OrdinaryStatus struct type RenamedOrCopiedStatus (line 26) | type RenamedOrCopiedStatus struct type UnmergedStatus (line 42) | type UnmergedStatus struct type UntrackedStatus (line 57) | type UntrackedStatus struct type IgnoredStatus (line 62) | type IgnoredStatus struct type Status (line 67) | type Status struct method IsEmpty (line 272) | func (s *Status) IsEmpty() bool { function ParseStatusPorcelainV2 (line 136) | func ParseStatusPorcelainV2(output []byte) (*Status, error) { FILE: internal/chezmoigit/status_test.go function TestParseStatusPorcelainV2 (line 11) | func TestParseStatusPorcelainV2(t *testing.T) { FILE: internal/chezmoilog/chezmoilog.go constant few (line 16) | few = 64 type OSExecCmdLogValuer (line 20) | type OSExecCmdLogValuer struct method LogValuer (line 37) | func (cmd OSExecCmdLogValuer) LogValuer() slog.Value { type OSExecExitLogValuerError (line 26) | type OSExecExitLogValuerError struct method LogValuer (line 55) | func (err OSExecExitLogValuerError) LogValuer() slog.Value { type OSProcessStateLogValuer (line 32) | type OSProcessStateLogValuer struct method LogValue (line 66) | func (p OSProcessStateLogValuer) LogValue() slog.Value { function AppendExitErrorAttrs (line 86) | func AppendExitErrorAttrs(attrs []slog.Attr, err error) []slog.Attr { function Bytes (line 110) | func Bytes(key string, data []byte) slog.Attr { function FirstFewBytes (line 116) | func FirstFewBytes(key string, data []byte) slog.Attr { function LogHTTPRequest (line 122) | func LogHTTPRequest(ctx context.Context, logger *slog.Logger, client *ht... function LogCmdCombinedOutput (line 143) | func LogCmdCombinedOutput(logger *slog.Logger, cmd *exec.Cmd) ([]byte, e... function LogCmdOutput (line 158) | func LogCmdOutput(logger *slog.Logger, cmd *exec.Cmd) ([]byte, error) { function LogCmdRun (line 173) | func LogCmdRun(logger *slog.Logger, cmd *exec.Cmd) error { function LogCmdStart (line 186) | func LogCmdStart(logger *slog.Logger, cmd *exec.Cmd) error { function LogCmdWait (line 199) | func LogCmdWait(logger *slog.Logger, cmd *exec.Cmd) error { function InfoOrError (line 211) | func InfoOrError(logger *slog.Logger, msg string, err error, attrs ...sl... function InfoOrErrorContext (line 215) | func InfoOrErrorContext(ctx context.Context, logger *slog.Logger, msg st... function Stringer (line 234) | func Stringer(key string, value fmt.Stringer) slog.Attr { function firstFewBytesHelper (line 239) | func firstFewBytesHelper(data []byte) []byte { FILE: internal/chezmoilog/nullhandler.go type NullHandler (line 9) | type NullHandler struct method Enabled (line 11) | func (NullHandler) Enabled(context.Context, slog.Level) bool { return... method Handle (line 12) | func (NullHandler) Handle(context.Context, slog.Record) error { return... method WithAttrs (line 13) | func (h NullHandler) WithAttrs([]slog.Attr) slog.Handler { return... method WithGroup (line 14) | func (h NullHandler) WithGroup(string) slog.Handler { return... FILE: internal/chezmoiset/chezmoiset.go type Set (line 10) | type Set function New (line 13) | func New[T comparable](elements ...T) Set[T] { function NewWithCapacity (line 20) | func NewWithCapacity[T comparable](capacity int) Set[T] { method Add (line 25) | func (s Set[T]) Add(elements ...T) { method AddSet (line 32) | func (s Set[T]) AddSet(other Set[T]) { method AnyElement (line 40) | func (s Set[T]) AnyElement() T { method Contains (line 49) | func (s Set[T]) Contains(element T) bool { method Elements (line 55) | func (s Set[T]) Elements() iter.Seq[T] { method IsEmpty (line 60) | func (s Set[T]) IsEmpty() bool { method Remove (line 65) | func (s Set[T]) Remove(elements ...T) { FILE: internal/chezmoitest/chezmoitest.go function AgeGenerateKey (line 25) | func AgeGenerateKey(command, identityFile string) (*age.X25519Recipient,... function GPGGenerateKey (line 38) | func GPGGenerateKey(command, homeDir string) (key, passphrase string, er... function HomeDir (line 57) | func HomeDir() string { function JoinLines (line 67) | func JoinLines(lines ...string) string { function SkipUnlessGOOS (line 75) | func SkipUnlessGOOS(t *testing.T, name string) { function WithTestFS (line 86) | func WithTestFS(t *testing.T, root any, f func(vfs.FS)) { function mustParseFileMode (line 95) | func mustParseFileMode(s string) fs.FileMode { FILE: internal/chezmoitest/chezmoitest_test.go function TestJoinLines (line 10) | func TestJoinLines(t *testing.T) { FILE: internal/chezmoitest/chezmoitest_unix.go function init (line 27) | func init() { FILE: internal/cmd/addcmd.go constant severityIgnore (line 18) | severityIgnore = "ignore" constant severityWarning (line 19) | severityWarning = "warning" constant severityError (line 20) | severityError = "error" type addCmdConfig (line 29) | type addCmdConfig struct method newAddCmd (line 45) | func (c *Config) newAddCmd() *cobra.Command { method defaultOnIgnoreFunc (line 84) | func (c *Config) defaultOnIgnoreFunc(targetRelPath chezmoi.RelPath) { method defaultPreAddFunc (line 90) | func (c *Config) defaultPreAddFunc(targetRelPath chezmoi.RelPath, fileIn... method defaultReplaceFunc (line 137) | func (c *Config) defaultReplaceFunc( method runAddCmd (line 186) | func (c *Config) runAddCmd(cmd *cobra.Command, args []string, sourceStat... FILE: internal/cmd/addcmd_test.go function TestAddCmd (line 16) | func TestAddCmd(t *testing.T) { function TestAddCmdChmod (line 303) | func TestAddCmdChmod(t *testing.T) { function TestAddCmdSecretsError (line 319) | func TestAddCmdSecretsError(t *testing.T) { function TestIssue4107 (line 329) | func TestIssue4107(t *testing.T) { FILE: internal/cmd/agecmd.go type ageDecryptCmdConfig (line 13) | type ageDecryptCmdConfig struct type ageEncryptCmdConfig (line 17) | type ageEncryptCmdConfig struct type ageCmdConfig (line 21) | type ageCmdConfig struct method newAgeCmd (line 26) | func (c *Config) newAgeCmd() *cobra.Command { method runAgeDecryptCmd (line 64) | func (c *Config) runAgeDecryptCmd(cmd *cobra.Command, args []string) err... method runAgeEncryptCmd (line 91) | func (c *Config) runAgeEncryptCmd(cmd *cobra.Command, args []string) err... FILE: internal/cmd/agekeygencmd.go type ageKeygenCmdConfig (line 18) | type ageKeygenCmdConfig struct method newAgeKeygenCmd (line 23) | func (c *Config) newAgeKeygenCmd() *cobra.Command { method runAgeKeygenCmd (line 44) | func (c *Config) runAgeKeygenCmd(cmd *cobra.Command, args []string) error { method runAgeKeygenConvertCmd (line 55) | func (c *Config) runAgeKeygenConvertCmd(args []string) error { method runAgeKeygenGenerateCmd (line 86) | func (c *Config) runAgeKeygenGenerateCmd(cmd *cobra.Command, args []stri... FILE: internal/cmd/annotation.go constant persistentStateModeEmpty (line 25) | persistentStateModeEmpty persistentStateModeValue = "empty" constant persistentStateModeNone (line 26) | persistentStateModeNone persistentStateModeValue = "none" constant persistentStateModeReadOnly (line 27) | persistentStateModeReadOnly persistentStateModeValue = "read-only" constant persistentStateModeReadMockWrite (line 28) | persistentStateModeReadMockWrite persistentStateModeValue = "read-mock-w... constant persistentStateModeReadWrite (line 29) | persistentStateModeReadWrite persistentStateModeValue = "read-write" type annotation (line 32) | type annotation interface type annotationsSet (line 37) | type annotationsSet method hasTag (line 51) | func (a annotationsSet) hasTag(tag annotation) bool { method persistentStateMode (line 55) | func (a annotationsSet) persistentStateMode() persistentStateModeValue { function getAnnotations (line 39) | func getAnnotations(cmd *cobra.Command) annotationsSet { function newAnnotations (line 43) | func newAnnotations(annotations ...annotation) annotationsSet { type persistentStateModeValue (line 59) | type persistentStateModeValue method key (line 61) | func (m persistentStateModeValue) key() string { method value (line 65) | func (m persistentStateModeValue) value() string { type tagAnnotation (line 69) | type tagAnnotation method key (line 71) | func (a tagAnnotation) key() string { method value (line 75) | func (a tagAnnotation) value() string { FILE: internal/cmd/applycmd.go type applyCmdConfig (line 9) | type applyCmdConfig struct method newApplyCmd (line 16) | func (c *Config) newApplyCmd() *cobra.Command { method runApplyCmd (line 41) | func (c *Config) runApplyCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/applycmd_test.go function TestApplyCmd (line 20) | func TestApplyCmd(t *testing.T) { function TestUserAgent (line 220) | func TestUserAgent(t *testing.T) { function TestIssue2132 (line 244) | func TestIssue2132(t *testing.T) { function TestIssue3206 (line 265) | func TestIssue3206(t *testing.T) { function TestIssue3216 (line 281) | func TestIssue3216(t *testing.T) { function TestIssue3703 (line 297) | func TestIssue3703(t *testing.T) { function TestIssue4927 (line 333) | func TestIssue4927(t *testing.T) { FILE: internal/cmd/archivecmd.go type archiveCmdConfig (line 19) | type archiveCmdConfig struct method newArchiveCmd (line 28) | func (c *Config) newArchiveCmd() *cobra.Command { method runArchiveCmd (line 55) | func (c *Config) runArchiveCmd(cmd *cobra.Command, args []string) error { function tarHeaderTemplate (line 119) | func tarHeaderTemplate() tar.Header { FILE: internal/cmd/autobool.go type autoBool (line 15) | type autoBool struct method MarshalJSON (line 29) | func (b autoBool) MarshalJSON() ([]byte, error) { method MarshalYAML (line 41) | func (b autoBool) MarshalYAML() (any, error) { method Set (line 49) | func (b *autoBool) Set(s string) error { method String (line 63) | func (b *autoBool) String() string { method Type (line 71) | func (b *autoBool) Type() string { method UnmarshalJSON (line 76) | func (b *autoBool) UnmarshalJSON(data []byte) error { method UnmarshalText (line 91) | func (b *autoBool) UnmarshalText(text []byte) error { method Value (line 106) | func (b *autoBool) Value(autoFunc func() bool) bool { function StringOrBoolToAutoBoolHookFunc (line 117) | func StringOrBoolToAutoBoolHookFunc() mapstructure.DecodeHookFunc { FILE: internal/cmd/awssecretsmanagertemplatefuncs.go type awsSecretsManagerConfig (line 13) | type awsSecretsManagerConfig struct method awsSecretsManagerRawTemplateFunc (line 21) | func (c *Config) awsSecretsManagerRawTemplateFunc(arn string) string { method awsSecretsManagerTemplateFunc (line 73) | func (c *Config) awsSecretsManagerTemplateFunc(arn string) map[string]any { FILE: internal/cmd/azurekeyvaulttemplatefuncs.go type azureKeyVault (line 12) | type azureKeyVault struct method URL (line 17) | func (v *azureKeyVault) URL(vaultName string) string { type azureKeyVaultConfig (line 21) | type azureKeyVaultConfig struct method GetSecret (line 27) | func (a *azureKeyVaultConfig) GetSecret(secretName, vaultName string) ... method azureKeyVaultTemplateFunc (line 59) | func (c *Config) azureKeyVaultTemplateFunc(args ...string) string { FILE: internal/cmd/bitwardensecretstemplatefuncs.go type bitwardenSecretsConfig (line 13) | type bitwardenSecretsConfig struct method bitwardenSecretsTemplateFunc (line 18) | func (c *Config) bitwardenSecretsTemplateFunc(secretID string, additiona... method bitwardenSecretsOutput (line 34) | func (c *Config) bitwardenSecretsOutput(args []string) ([]byte, error) { FILE: internal/cmd/bitwardentemplatefuncs.go type bitwardenConfig (line 14) | type bitwardenConfig struct method bitwardenAttachmentTemplateFunc (line 21) | func (c *Config) bitwardenAttachmentTemplateFunc(name, itemID string) st... method bitwardenAttachmentByRefTemplateFunc (line 26) | func (c *Config) bitwardenAttachmentByRefTemplateFunc(name string, args ... method bitwardenFieldsTemplateFunc (line 36) | func (c *Config) bitwardenFieldsTemplateFunc(args ...string) map[string]... method bitwardenTemplateFunc (line 52) | func (c *Config) bitwardenTemplateFunc(args ...string) map[string]any { method bitwardenLock (line 60) | func (c *Config) bitwardenLock() error { method bitwardenMaybeUnlock (line 71) | func (c *Config) bitwardenMaybeUnlock() error { method bitwardenOutput (line 87) | func (c *Config) bitwardenOutput(args []string) ([]byte, error) { method bitwardenUncachedOutput (line 105) | func (c *Config) bitwardenUncachedOutput(args []string) ([]byte, error) { FILE: internal/cmd/catcmd.go method newCatCmd (line 12) | func (c *Config) newCatCmd() *cobra.Command { method runCatCmd (line 31) | func (c *Config) runCatCmd(cmd *cobra.Command, args []string, sourceStat... FILE: internal/cmd/catcmd_test.go function TestCatCmd (line 14) | func TestCatCmd(t *testing.T) { FILE: internal/cmd/catconfigcmd.go method newCatConfigCmd (line 5) | func (c *Config) newCatConfigCmd() *cobra.Command { method runCatConfigCmd (line 25) | func (c *Config) runCatConfigCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/cdcmd.go type cdCmdConfig (line 13) | type cdCmdConfig struct method newCDCmd (line 18) | func (c *Config) newCDCmd() *cobra.Command { method runCDCmd (line 39) | func (c *Config) runCDCmd(cmd *cobra.Command, args []string) error { method cdCommand (line 81) | func (c *Config) cdCommand() (string, []string, error) { FILE: internal/cmd/chattrcmd.go type chattrCmdConfig (line 13) | type chattrCmdConfig struct type boolModifier (line 17) | type boolModifier method modify (line 229) | func (m boolModifier) modify(b bool) bool { constant boolModifierSet (line 20) | boolModifierSet boolModifier = 1 constant boolModifierLeaveUnchanged (line 21) | boolModifierLeaveUnchanged boolModifier = 0 constant boolModifierClear (line 22) | boolModifierClear boolModifier = -1 type conditionModifier (line 25) | type conditionModifier method modify (line 243) | func (m conditionModifier) modify(condition chezmoi.ScriptCondition) c... constant conditionModifierLeaveUnchanged (line 28) | conditionModifierLeaveUnchanged conditionModifier = iota constant conditionModifierClearOnce (line 29) | conditionModifierClearOnce constant conditionModifierSetOnce (line 30) | conditionModifierSetOnce constant conditionModifierClearOnChange (line 31) | conditionModifierClearOnChange constant conditionModifierSetOnChange (line 32) | conditionModifierSetOnChange type orderModifier (line 35) | type orderModifier method modify (line 267) | func (m orderModifier) modify(order chezmoi.ScriptOrder) chezmoi.Scrip... constant orderModifierSetBefore (line 38) | orderModifierSetBefore orderModifier = -2 constant orderModifierClearBefore (line 39) | orderModifierClearBefore orderModifier = -1 constant orderModifierLeaveUnchanged (line 40) | orderModifierLeaveUnchanged orderModifier = 0 constant orderModifierClearAfter (line 41) | orderModifierClearAfter orderModifier = 1 constant orderModifierSetAfter (line 42) | orderModifierSetAfter orderModifier = 2 type sourceFileTypeModifier (line 45) | type sourceFileTypeModifier method modify (line 291) | func (m sourceFileTypeModifier) modify(sourceFileType chezmoi.SourceFi... constant sourceFileTypeModifierLeaveUnchanged (line 48) | sourceFileTypeModifierLeaveUnchanged sourceFileTypeModifier = iota constant sourceFileTypeModifierSetCreate (line 49) | sourceFileTypeModifierSetCreate constant sourceFileTypeModifierClearCreate (line 50) | sourceFileTypeModifierClearCreate constant sourceFileTypeModifierSetModify (line 51) | sourceFileTypeModifierSetModify constant sourceFileTypeModifierClearModify (line 52) | sourceFileTypeModifierClearModify constant sourceFileTypeModifierSetRemove (line 53) | sourceFileTypeModifierSetRemove constant sourceFileTypeModifierClearRemove (line 54) | sourceFileTypeModifierClearRemove constant sourceFileTypeModifierSetScript (line 55) | sourceFileTypeModifierSetScript constant sourceFileTypeModifierClearScript (line 56) | sourceFileTypeModifierClearScript constant sourceFileTypeModifierSetSymlink (line 57) | sourceFileTypeModifierSetSymlink constant sourceFileTypeModifierClearSymlink (line 58) | sourceFileTypeModifierClearSymlink type modifier (line 61) | type modifier struct method modifyDirAttr (line 453) | func (m *modifier) modifyDirAttr(dirAttr chezmoi.DirAttr) chezmoi.DirA... method modifyFileAttr (line 465) | func (m *modifier) modifyFileAttr(fileAttr chezmoi.FileAttr) chezmoi.F... method newChattrCmd (line 76) | func (c *Config) newChattrCmd() *cobra.Command { method chattrCmdValidArgs (line 99) | func (c *Config) chattrCmdValidArgs(cmd *cobra.Command, args []string, t... method runChattrCmd (line 147) | func (c *Config) runChattrCmd(cmd *cobra.Command, args []string, sourceS... function parseModifier (line 336) | func parseModifier(s string) (*modifier, error) { FILE: internal/cmd/chattrcmd_test.go function TestChattrCmdValidArgs (line 11) | func TestChattrCmdValidArgs(t *testing.T) { function TestParseAttrModifier (line 59) | func TestParseAttrModifier(t *testing.T) { FILE: internal/cmd/choiceflag.go type choiceFlag (line 21) | type choiceFlag struct method FlagCompletionFunc (line 48) | func (f *choiceFlag) FlagCompletionFunc() func(*cobra.Command, []strin... method MarshalJSON (line 53) | func (f *choiceFlag) MarshalJSON() ([]byte, error) { method MarshalText (line 58) | func (f *choiceFlag) MarshalText() ([]byte, error) { method Set (line 63) | func (f *choiceFlag) Set(s string) error { method String (line 82) | func (f *choiceFlag) String() string { method Type (line 87) | func (f *choiceFlag) Type() string { method UnmarshalJSON (line 96) | func (f *choiceFlag) UnmarshalJSON(data []byte) error { method UnmarshalText (line 109) | func (f *choiceFlag) UnmarshalText(text []byte) error { function newChoiceFlag (line 35) | func newChoiceFlag(value string, allowedValues []string) *choiceFlag { function StringToChoiceFlagHookFunc (line 125) | func StringToChoiceFlagHookFunc() mapstructure.DecodeHookFunc { FILE: internal/cmd/cmd.go constant readSourceStateHookName (line 24) | readSourceStateHookName = "read-source-state" type VersionInfo (line 35) | type VersionInfo struct method LogValue (line 42) | func (v VersionInfo) LogValue() slog.Value { function Main (line 52) | func Main(versionInfo VersionInfo, args []string) int { function deDuplicateError (line 70) | func deDuplicateError(err error) string { function example (line 85) | func example(command string) string { function markFlagsRequired (line 94) | func markFlagsRequired(cmd *cobra.Command, flags ...string) { function must (line 101) | func must(err error) { function mustValue (line 108) | func mustValue[T any](value T, err error) T { function mustValues (line 116) | func mustValues[T1, T2 any](value1 T1, value2 T2, err error) (T1, T2) { function mustLongHelp (line 125) | func mustLongHelp(command string) string { function ensureHasGroupID (line 135) | func ensureHasGroupID(cmd *cobra.Command) { function ensureAllFlagsDocumented (line 143) | func ensureAllFlagsDocumented(cmd *cobra.Command, persistentFlags *pflag... function runMain (line 180) | func runMain(versionInfo VersionInfo, args []string) (err error) { FILE: internal/cmd/cmd_test.go function init (line 14) | func init() { function TestDeDuplicateError (line 20) | func TestDeDuplicateError(t *testing.T) { function TestMustGetLongHelpPanics (line 65) | func TestMustGetLongHelpPanics(t *testing.T) { FILE: internal/cmd/completioncmd.go type completionCmdConfig (line 10) | type completionCmdConfig struct method newCompletionCmd (line 14) | func (c *Config) newCompletionCmd() *cobra.Command { method runCompletionCmd (line 33) | func (c *Config) runCompletionCmd(cmd *cobra.Command, args []string) err... function completion (line 41) | func completion(cmd *cobra.Command, shell string) (string, error) { FILE: internal/cmd/config.go constant defaultSentinel (line 60) | defaultSentinel = "\x00" constant logComponentKey (line 63) | logComponentKey = "component" constant logComponentValueEncryption (line 64) | logComponentValueEncryption = "encryption" constant logComponentValuePersistentState (line 65) | logComponentValuePersistentState = "persistentState" constant logComponentValueSourceState (line 66) | logComponentValueSourceState = "sourceState" constant logComponentValueSystem (line 67) | logComponentValueSystem = "system" constant groupIDAdvanced (line 71) | groupIDAdvanced = "advanced" constant groupIDDaily (line 72) | groupIDDaily = "daily" constant groupIDDocumentation (line 73) | groupIDDocumentation = "documentation" constant groupIDEncryption (line 74) | groupIDEncryption = "encryption" constant groupIDInternal (line 75) | groupIDInternal = "internal" constant groupIDMigration (line 76) | groupIDMigration = "migration" constant groupIDRemote (line 77) | groupIDRemote = "remote" constant groupIDTemplate (line 78) | groupIDTemplate = "template" type doPurgeOptions (line 92) | type doPurgeOptions struct type commandConfig (line 101) | type commandConfig struct type hookConfig (line 107) | type hookConfig struct type templateConfig (line 112) | type templateConfig struct type warningsConfig (line 116) | type warningsConfig struct type ConfigFile (line 121) | type ConfigFile struct method toMap (line 3265) | func (f *ConfigFile) toMap() map[string]any { type Config (line 194) | type Config struct method Close (line 612) | func (c *Config) Close() error { method addTemplateFunc (line 627) | func (c *Config) addTemplateFunc(key string, value any) { method applyArgs (line 648) | func (c *Config) applyArgs( method builtinDiffFile (line 769) | func (c *Config) builtinDiffFile( method checkVersion (line 806) | func (c *Config) checkVersion() error { method cmdOutput (line 829) | func (c *Config) cmdOutput(dirAbsPath chezmoi.AbsPath, name string, ar... method colorAutoFunc (line 843) | func (c *Config) colorAutoFunc() bool { method createAndReloadConfigFile (line 855) | func (c *Config) createAndReloadConfigFile(cmd *cobra.Command) error { method createConfigFileContents (line 928) | func (c *Config) createConfigFileContents(filename chezmoi.RelPath, da... method defaultConfigFile (line 972) | func (c *Config) defaultConfigFile(fileSystem vfs.FS, bds *xdg.BaseDir... method decodeConfigContents (line 1026) | func (c *Config) decodeConfigContents(format chezmoi.Format, contents ... method decodeConfigFile (line 1036) | func (c *Config) decodeConfigFile(configFileAbsPath chezmoi.AbsPath, c... method decodeConfigMap (line 1075) | func (c *Config) decodeConfigMap(configMap map[string]any, configFile ... method defaultPreApplyFunc (line 1096) | func (c *Config) defaultPreApplyFunc( method defaultSourceDir (line 1211) | func (c *Config) defaultSourceDir(fileSystem vfs.Stater, bds *xdg.Base... method destAbsPathInfos (line 1249) | func (c *Config) destAbsPathInfos( method diffFile (line 1343) | func (c *Config) diffFile( method editor (line 1359) | func (c *Config) editor(args []string) (string, []string, error) { method errorf (line 1375) | func (c *Config) errorf(format string, args ...any) { method execute (line 1380) | func (c *Config) execute(args []string) error { method externalDiffFile (line 1392) | func (c *Config) externalDiffFile( method filterInput (line 1431) | func (c *Config) filterInput(args []string, f func([]byte) ([]byte, er... method findConfigTemplate (line 1475) | func (c *Config) findConfigTemplate() (*configTemplate, error) { method getConfigFileAbsPath (line 1529) | func (c *Config) getConfigFileAbsPath() (chezmoi.AbsPath, error) { method getDiffPager (line 1537) | func (c *Config) getDiffPager() (command string, args []string) { method getDiffPagerCmd (line 1550) | func (c *Config) getDiffPagerCmd() (*exec.Cmd, error) { method getGitleaksDetector (line 1584) | func (c *Config) getGitleaksDetector() (*detect.Detector, error) { method getHTTPClient (line 1618) | func (c *Config) getHTTPClient() (*http.Client, error) { method getSourceDirAbsPath (line 1649) | func (c *Config) getSourceDirAbsPath(options *getSourceDirAbsPathOptio... method getSourceState (line 1668) | func (c *Config) getSourceState(ctx context.Context, cmd *cobra.Comman... method getTemplateData (line 1677) | func (c *Config) getTemplateData(cmd *cobra.Command) *templateData { method getTemplateDataMap (line 1685) | func (c *Config) getTemplateDataMap(cmd *cobra.Command) map[string]any { method gitAutoAdd (line 1720) | func (c *Config) gitAutoAdd() (*chezmoigit.Status, error) { method gitAutoCommit (line 1733) | func (c *Config) gitAutoCommit(cmd *cobra.Command, status *chezmoigit.... method gitAutoPush (line 1751) | func (c *Config) gitAutoPush(status *chezmoigit.Status) error { method gitCommitMessage (line 1765) | func (c *Config) gitCommitMessage(cmd *cobra.Command, status *chezmoig... method makeRunEWithSourceState (line 1816) | func (c *Config) makeRunEWithSourceState( method marshal (line 1829) | func (c *Config) marshal(dataFormat string, data any) error { method newBuiltinDiffSystem (line 1847) | func (c *Config) newBuiltinDiffSystem(s chezmoi.System, w io.Writer, d... method newRootCmd (line 1859) | func (c *Config) newRootCmd() (*cobra.Command, error) { method newDiffSystem (line 2004) | func (c *Config) newDiffSystem(s chezmoi.System, w io.Writer, dirAbsPa... method newExternalDiffSystem (line 2012) | func (c *Config) newExternalDiffSystem(s chezmoi.System) *chezmoi.Exte... method newSourceState (line 2027) | func (c *Config) newSourceState( method persistentPostRunRootE (line 2110) | func (c *Config) persistentPostRunRootE(cmd *cobra.Command, args []str... method finalize (line 2167) | func (c *Config) finalize() { method pageDiffOutput (line 2204) | func (c *Config) pageDiffOutput(output string) error { method persistentPreRunRootE (line 2217) | func (c *Config) persistentPreRunRootE(cmd *cobra.Command, args []stri... method persistentStateFile (line 2536) | func (c *Config) persistentStateFile() (chezmoi.AbsPath, error) { method progressAutoFunc (line 2548) | func (c *Config) progressAutoFunc() bool { method newTemplateData (line 2555) | func (c *Config) newTemplateData(cmd *cobra.Command) *templateData { method readConfig (line 2673) | func (c *Config) readConfig(configFileAbsPath chezmoi.AbsPath) error { method resetSourceState (line 2683) | func (c *Config) resetSourceState() { method run (line 2689) | func (c *Config) run(dir chezmoi.AbsPath, name string, args []string) ... method runEditor (line 2708) | func (c *Config) runEditor(args []string) error { method runHook (line 2727) | func (c *Config) runHook(command commandConfig) error { method runHookPost (line 2752) | func (c *Config) runHookPost(hook string) error { method runHookPre (line 2760) | func (c *Config) runHookPre(hook string) error { method runInstallInitShellSh (line 2774) | func (c *Config) runInstallInitShellSh( method setEncryption (line 2801) | func (c *Config) setEncryption() error { method setEnvironmentVariables (line 2860) | func (c *Config) setEnvironmentVariables() error { method sourceAbsPaths (line 2883) | func (c *Config) sourceAbsPaths(sourceState *chezmoi.SourceState, args... method targetRelPath (line 2898) | func (c *Config) targetRelPath(absPath chezmoi.AbsPath) (chezmoi.RelPa... method targetRelPaths (line 2914) | func (c *Config) targetRelPaths( method targetRelPathsBySourcePath (line 2978) | func (c *Config) targetRelPathsBySourcePath(sourceState *chezmoi.Sourc... method targetValidArgs (line 3007) | func (c *Config) targetValidArgs(cmd *cobra.Command, args []string, to... method tempDir (line 3050) | func (c *Config) tempDir(key string) (chezmoi.AbsPath, error) { method useBuiltinAgeAutoFunc (line 3070) | func (c *Config) useBuiltinAgeAutoFunc() bool { method useBuiltinGitAutoFunc (line 3078) | func (c *Config) useBuiltinGitAutoFunc() bool { method writeOutput (line 3086) | func (c *Config) writeOutput(data []byte, perm fs.FileMode) error { method writePaths (line 3099) | func (c *Config) writePaths(paths []string, options writePathsOptions)... method writeOutputString (line 3118) | func (c *Config) writeOutputString(data string, perm fs.FileMode) error { type templateData (line 293) | type templateData struct type configOption (line 322) | type configOption type configState (line 324) | type configState struct function newConfig (line 353) | func newConfig(options ...configOption) (*Config, error) { type applyArgsOptions (line 634) | type applyArgsOptions struct type onNotExist (line 1231) | type onNotExist constant onNotExistError (line 1234) | onNotExistError onNotExist = iota constant onNotExistIgnore (line 1235) | onNotExistIgnore constant onNotExistAdd (line 1236) | onNotExistAdd type destAbsPathInfosOptions (line 1239) | type destAbsPathInfosOptions struct type configTemplate (line 1465) | type configTemplate struct type modifyHTTPRequestFunc (line 1593) | type modifyHTTPRequestFunc type modifyHTTPRequestRoundTripper (line 1597) | type modifyHTTPRequestRoundTripper struct method RoundTrip (line 1610) | func (m modifyHTTPRequestRoundTripper) RoundTrip(req *http.Request) (*... function newModifyHTTPRequestRoundTripper (line 1602) | func newModifyHTTPRequestRoundTripper(f modifyHTTPRequestFunc, t http.Ro... type getSourceDirAbsPathOptions (line 1643) | type getSourceDirAbsPathOptions struct type runInstallInitShellOptions (line 2767) | type runInstallInitShellOptions struct type targetRelPathsOptions (line 2906) | type targetRelPathsOptions struct type writePathsOptions (line 3094) | type writePathsOptions struct function newConfigFile (line 3122) | func newConfigFile(bds *xdg.BaseDirectorySpecification) ConfigFile { function parseCommand (line 3286) | func parseCommand(command string, args []string) (string, []string, erro... function prependParentRelPaths (line 3319) | func prependParentRelPaths(relPaths []chezmoi.RelPath) []chezmoi.RelPath { function registerCommonFlagCompletionFuncs (line 3341) | func registerCommonFlagCompletionFuncs(cmd *cobra.Command) { function sha256Sum (line 3356) | func sha256Sum(data []byte) []byte { function withVersionInfo (line 3362) | func withVersionInfo(versionInfo VersionInfo) configOption { FILE: internal/cmd/config_tags_test.go function TestExportedFieldsHaveMatchingMarshalTags (line 12) | func TestExportedFieldsHaveMatchingMarshalTags(t *testing.T) { function fieldTypesNeedsVerification (line 19) | func fieldTypesNeedsVerification(ft reflect.Type) []reflect.Type { function verifyTagsArePresentAndMatch (line 40) | func verifyTagsArePresentAndMatch(structType reflect.Type) (failed bool,... FILE: internal/cmd/config_test.go function TestConfigFileFieldTagNamesMatch (line 24) | func TestConfigFileFieldTagNamesMatch(t *testing.T) { function TestAddTemplateFuncPanic (line 40) | func TestAddTemplateFuncPanic(t *testing.T) { function TestConfigFileFormatRoundTrip (line 52) | func TestConfigFileFormatRoundTrip(t *testing.T) { function TestParseCommand (line 133) | func TestParseCommand(t *testing.T) { function TestParseConfig (line 175) | func TestParseConfig(t *testing.T) { function TestPrependParentRelPaths (line 247) | func TestPrependParentRelPaths(t *testing.T) { function TestInitConfigWithIncludedTemplate (line 296) | func TestInitConfigWithIncludedTemplate(t *testing.T) { function TestUpperSnakeCaseToCamelCase (line 320) | func TestUpperSnakeCaseToCamelCase(t *testing.T) { function TestIssue3980 (line 333) | func TestIssue3980(t *testing.T) { function newTestConfig (line 505) | func newTestConfig(t *testing.T, fileSystem vfs.FS, options ...configOpt... function withBaseSystem (line 525) | func withBaseSystem(baseSystem chezmoi.System) configOption { function withDestSystem (line 532) | func withDestSystem(destSystem chezmoi.System) configOption { function withNoTTY (line 539) | func withNoTTY(noTTY bool) configOption { //nolint:unparam function withSourceSystem (line 546) | func withSourceSystem(sourceSystem chezmoi.System) configOption { function withStdin (line 553) | func withStdin(stdin io.Reader) configOption { function withStdout (line 560) | func withStdout(stdout io.Writer) configOption { function withTestFS (line 567) | func withTestFS(fileSystem vfs.FS) configOption { function withTestUser (line 574) | func withTestUser(t *testing.T, username string) configOption { function withUmask (line 613) | func withUmask(umask fs.FileMode) configOption { FILE: internal/cmd/dashlanetemplatefuncs.go type dashlaneConfig (line 12) | type dashlaneConfig struct method dashlaneNoteTemplateFunc (line 19) | func (c *Config) dashlaneNoteTemplateFunc(filter string) any { method dashlanePasswordTemplateFunc (line 36) | func (c *Config) dashlanePasswordTemplateFunc(filter string) any { method dashlaneOutput (line 55) | func (c *Config) dashlaneOutput(args ...string) ([]byte, error) { FILE: internal/cmd/datacmd.go type dataCmdConfig (line 11) | type dataCmdConfig struct method newDataCmd (line 15) | func (c *Config) newDataCmd() *cobra.Command { method runDataCmd (line 36) | func (c *Config) runDataCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/datacmd_test.go function TestDataCmd (line 16) | func TestDataCmd(t *testing.T) { FILE: internal/cmd/dataformat.go constant formatUnknown (line 4) | formatUnknown = "" constant formatJSON (line 5) | formatJSON = "json" constant formatTOML (line 6) | formatTOML = "toml" constant formatYAML (line 7) | formatYAML = "yaml" FILE: internal/cmd/decryptcmd.go method newDecryptCommand (line 7) | func (c *Config) newDecryptCommand() *cobra.Command { method runDecryptCmd (line 23) | func (c *Config) runDecryptCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/destroycmd.go type destroyCmdConfig (line 13) | type destroyCmdConfig struct method newDestroyCmd (line 17) | func (c *Config) newDestroyCmd() *cobra.Command { method runDestroyCmd (line 39) | func (c *Config) runDestroyCmd(cmd *cobra.Command, args []string, source... FILE: internal/cmd/diffcmd.go type diffCmdConfig (line 9) | type diffCmdConfig struct method newDiffCmd (line 23) | func (c *Config) newDiffCmd() *cobra.Command { method runDiffCmd (line 53) | func (c *Config) runDiffCmd(cmd *cobra.Command, args []string) (err erro... FILE: internal/cmd/diffcmd_test.go function TestDiffCmd (line 15) | func TestDiffCmd(t *testing.T) { FILE: internal/cmd/dockercmd.go type dockerCmdConfig (line 9) | type dockerCmdConfig struct type dockerExecCmdConfig (line 15) | type dockerExecCmdConfig struct type dockerRunCmdConfig (line 21) | type dockerRunCmdConfig struct method newDockerCmd (line 25) | func (c *Config) newDockerCmd() *cobra.Command { method runDockerExecCmd (line 68) | func (c *Config) runDockerExecCmd(cmd *cobra.Command, args []string, sou... method runDockerRunCmd (line 88) | func (c *Config) runDockerRunCmd(cmd *cobra.Command, args []string, sour... FILE: internal/cmd/doctorcmd.go type checkResult (line 33) | type checkResult constant checkResultOmitted (line 36) | checkResultOmitted checkResult = -3 constant checkResultFailed (line 37) | checkResultFailed checkResult = -2 constant checkResultSkipped (line 38) | checkResultSkipped checkResult = -1 constant checkResultOK (line 39) | checkResultOK checkResult = 0 constant checkResultInfo (line 40) | checkResultInfo checkResult = 1 constant checkResultWarning (line 41) | checkResultWarning checkResult = 2 constant checkResultError (line 42) | checkResultError checkResult = 3 type gitStatus (line 46) | type gitStatus constant gitStatusNotAWorkingCopy (line 49) | gitStatusNotAWorkingCopy gitStatus = "" constant gitStatusClean (line 50) | gitStatusClean gitStatus = "clean" constant gitStatusDirty (line 51) | gitStatusDirty gitStatus = "dirty" constant gitStatusError (line 52) | gitStatusError gitStatus = "error" type check (line 56) | type check interface type argsCheck (line 72) | type argsCheck struct method Name (line 464) | func (c *argsCheck) Name() string { method Run (line 468) | func (c *argsCheck) Run(config *Config) (checkResult, string) { type binaryCheck (line 80) | type binaryCheck struct method Name (line 472) | func (c *binaryCheck) Name() string { method Run (line 476) | func (c *binaryCheck) Run(config *Config) (checkResult, string) { type configFileCheck (line 92) | type configFileCheck struct method Name (line 525) | func (c *configFileCheck) Name() string { method Run (line 529) | func (c *configFileCheck) Run(config *Config) (checkResult, string) { type dirCheck (line 98) | type dirCheck struct method Name (line 561) | func (c *dirCheck) Name() string { method Run (line 565) | func (c *dirCheck) Run(config *Config) (checkResult, string) { type executableCheck (line 104) | type executableCheck struct method Name (line 607) | func (executableCheck) Name() string { method Run (line 611) | func (executableCheck) Run(config *Config) (checkResult, string) { type fileCheck (line 107) | type fileCheck struct method Name (line 623) | func (c *fileCheck) Name() string { method Run (line 627) | func (c *fileCheck) Run(config *Config) (checkResult, string) { type goVersionCheck (line 115) | type goVersionCheck struct method Name (line 642) | func (goVersionCheck) Name() string { method Run (line 646) | func (goVersionCheck) Run(config *Config) (checkResult, string) { type latestVersionCheck (line 118) | type latestVersionCheck struct method Name (line 650) | func (c *latestVersionCheck) Name() string { method Run (line 654) | func (c *latestVersionCheck) Run(config *Config) (checkResult, string) { type osArchCheck (line 126) | type osArchCheck struct method Name (line 691) | func (osArchCheck) Name() string { method Run (line 695) | func (osArchCheck) Run(config *Config) (checkResult, string) { type omittedCheck (line 129) | type omittedCheck struct method Name (line 709) | func (omittedCheck) Name() string { method Run (line 713) | func (omittedCheck) Run(config *Config) (checkResult, string) { type suspiciousEntriesCheck (line 133) | type suspiciousEntriesCheck struct method Name (line 717) | func (c *suspiciousEntriesCheck) Name() string { method Run (line 721) | func (c *suspiciousEntriesCheck) Run(config *Config) (checkResult, str... type symlinkCheck (line 139) | type symlinkCheck struct method Name (line 745) | func (symlinkCheck) Name() string { method Run (line 749) | func (symlinkCheck) Run(config *Config) (checkResult, string) { type upgradeMethodCheck (line 142) | type upgradeMethodCheck struct method Name (line 770) | func (upgradeMethodCheck) Name() string { method Run (line 774) | func (upgradeMethodCheck) Run(config *Config) (checkResult, string) { type versionCheck (line 145) | type versionCheck struct method Name (line 789) | func (c *versionCheck) Name() string { method Run (line 793) | func (c *versionCheck) Run(config *Config) (checkResult, string) { type doctorCmdConfig (line 150) | type doctorCmdConfig struct method newDoctorCmd (line 154) | func (c *Config) newDoctorCmd() *cobra.Command { method runDoctorCmd (line 176) | func (c *Config) runDoctorCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/doctorcmd_unix.go type hardlinkCheck (line 20) | type hardlinkCheck struct method Name (line 26) | func (hardlinkCheck) Name() string { method Run (line 30) | func (hardlinkCheck) Run(config *Config) (checkResult, string) { type systeminfoCheck (line 21) | type systeminfoCheck struct type umaskCheck (line 22) | type umaskCheck struct method Name (line 70) | func (umaskCheck) Name() string { method Run (line 74) | func (umaskCheck) Run(config *Config) (checkResult, string) { type unameCheck (line 23) | type unameCheck struct method Name (line 84) | func (unameCheck) Name() string { method Run (line 88) | func (unameCheck) Run(config *Config) (checkResult, string) { FILE: internal/cmd/doctorcmd_windows.go type hardlinkCheck (line 13) | type hardlinkCheck struct type systeminfoCheck (line 14) | type systeminfoCheck struct method Name (line 19) | func (systeminfoCheck) Name() string { method Run (line 23) | func (systeminfoCheck) Run(config *Config) (checkResult, string) { type umaskCheck (line 15) | type umaskCheck struct type unameCheck (line 16) | type unameCheck struct FILE: internal/cmd/dopplertemplatefuncs.go type dopplerConfig (line 14) | type dopplerConfig struct method dopplerTemplateFunc (line 22) | func (c *Config) dopplerTemplateFunc(key string, additionalArgs ...strin... method dopplerProjectJSONTemplateFunc (line 43) | func (c *Config) dopplerProjectJSONTemplateFunc(additionalArgs ...string... method appendDopplerAdditionalArgs (line 55) | func (c *Config) appendDopplerAdditionalArgs(args, additionalArgs []stri... method dopplerOutput (line 70) | func (c *Config) dopplerOutput(args []string) ([]byte, error) { FILE: internal/cmd/dumpcmd.go type dumpCmdConfig (line 11) | type dumpCmdConfig struct method newDumpCmd (line 19) | func (c *Config) newDumpCmd() *cobra.Command { method runDumpCmd (line 45) | func (c *Config) runDumpCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/dumpconfigcmd.go type dumpConfigCmdConfig (line 9) | type dumpConfigCmdConfig struct method newDumpConfigCmd (line 13) | func (c *Config) newDumpConfigCmd() *cobra.Command { method runDumpConfigCmd (line 35) | func (c *Config) runDumpConfigCmd(cmd *cobra.Command, args []string) err... FILE: internal/cmd/editcmd.go type editCmdConfig (line 17) | type editCmdConfig struct method newEditCmd (line 28) | func (c *Config) newEditCmd() *cobra.Command { method runEditCmd (line 56) | func (c *Config) runEditCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/editconfigcmd.go method newEditConfigCmd (line 7) | func (c *Config) newEditConfigCmd() *cobra.Command { method runEditConfigCmd (line 29) | func (c *Config) runEditConfigCmd(cmd *cobra.Command, args []string) err... FILE: internal/cmd/editconfigtemplatecmd.go method newEditConfigTemplateCmd (line 12) | func (c *Config) newEditConfigTemplateCmd() *cobra.Command { method runEditConfigTemplateCmd (line 33) | func (c *Config) runEditConfigTemplateCmd(cmd *cobra.Command, args []str... FILE: internal/cmd/editencryptedcmd.go method newEditEncryptedCmd (line 11) | func (c *Config) newEditEncryptedCmd() *cobra.Command { method runEditEncryptedCmd (line 29) | func (c *Config) runEditEncryptedCmd(cmd *cobra.Command, args []string) ... FILE: internal/cmd/ejsontemplatefuncs.go type ejsonConfig (line 9) | type ejsonConfig struct method ejsonDecryptWithKeyTemplateFunc (line 15) | func (c *Config) ejsonDecryptWithKeyTemplateFunc(filePath, key string) a... method ejsonDecryptTemplateFunc (line 34) | func (c *Config) ejsonDecryptTemplateFunc(filePath string) any { FILE: internal/cmd/encryptcmd.go method newEncryptCmd (line 7) | func (c *Config) newEncryptCmd() *cobra.Command { method runEncryptCmd (line 23) | func (c *Config) runEncryptCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/encryptiontemplatefuncs.go method decryptTemplateFunc (line 3) | func (c *Config) decryptTemplateFunc(ciphertext string) string { method encryptTemplateFunc (line 7) | func (c *Config) encryptTemplateFunc(plaintext string) string { FILE: internal/cmd/errors.go type cmdOutputError (line 8) | type cmdOutputError struct method Error (line 24) | func (e *cmdOutputError) Error() string { method Unwrap (line 31) | func (e *cmdOutputError) Unwrap() error { function newCmdOutputError (line 15) | func newCmdOutputError(cmd *exec.Cmd, output []byte, err error) *cmdOutp... FILE: internal/cmd/executetemplatecmd.go type executeTemplateCmdConfig (line 16) | type executeTemplateCmdConfig struct method newExecuteTemplateCmd (line 29) | func (c *Config) newExecuteTemplateCmd() *cobra.Command { method runExecuteTemplateCmd (line 67) | func (c *Config) runExecuteTemplateCmd(cmd *cobra.Command, args []string... FILE: internal/cmd/forgetcmd.go method newForgetCmd (line 11) | func (c *Config) newForgetCmd() *cobra.Command { method runForgetCmd (line 31) | func (c *Config) runForgetCmd(cmd *cobra.Command, args []string, sourceS... FILE: internal/cmd/generatecmd.go type generateCmdConfig (line 13) | type generateCmdConfig struct type generateInstallInitShellShCmdConfig (line 17) | type generateInstallInitShellShCmdConfig struct method newGenerateCmd (line 23) | func (c *Config) newGenerateCmd() *cobra.Command { method runGenerateGitCommitMessageCmd (line 78) | func (c *Config) runGenerateGitCommitMessageCmd(cmd *cobra.Command, args... method runGenerateInstallShCmd (line 99) | func (c *Config) runGenerateInstallShCmd(cmd *cobra.Command, args []stri... method runGenerateInstallInitShellShCmd (line 103) | func (c *Config) runGenerateInstallInitShellShCmd(cmd *cobra.Command, ar... FILE: internal/cmd/gitcmd.go type gitCmdConfig (line 7) | type gitCmdConfig struct method newGitCmd (line 17) | func (c *Config) newGitCmd() *cobra.Command { method runGitCmd (line 36) | func (c *Config) runGitCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/githubtemplatefuncs.go type gitHubConfig (line 15) | type gitHubConfig struct type gitHubKeysState (line 19) | type gitHubKeysState struct type gitHubLatestReleaseState (line 24) | type gitHubLatestReleaseState struct type gitHubReleasesState (line 29) | type gitHubReleasesState struct type gitHubTagsState (line 34) | type gitHubTagsState struct type gitHubData (line 47) | type gitHubData struct method gitHubKeysTemplateFunc (line 57) | func (c *Config) gitHubKeysTemplateFunc(user string) []*github.Key { method githubMatchingReleaseAssetURL (line 103) | func (c *Config) githubMatchingReleaseAssetURL(release *github.Repositor... method gitHubLatestReleaseAssetURLTemplateFunc (line 115) | func (c *Config) gitHubLatestReleaseAssetURLTemplateFunc(ownerRepo, patt... method gitHubReleaseAssetURLTemplateFunc (line 120) | func (c *Config) gitHubReleaseAssetURLTemplateFunc(ownerRepo, version, p... method gitHubRelease (line 125) | func (c *Config) gitHubRelease(ownerRepo, version string) (*github.Repos... method gitHubLatestRelease (line 187) | func (c *Config) gitHubLatestRelease(ownerRepo string) (*github.Reposito... method gitHubLatestReleaseTemplateFunc (line 245) | func (c *Config) gitHubLatestReleaseTemplateFunc(ownerRepo string) *gith... method gitHubReleaseTemplateFunc (line 249) | func (c *Config) gitHubReleaseTemplateFunc(ownerRepo, version string) *g... method gitHubLatestTagTemplateFunc (line 253) | func (c *Config) gitHubLatestTagTemplateFunc(ownerRepo string) *github.R... method gitHubReleasesTemplateFunc (line 263) | func (c *Config) gitHubReleasesTemplateFunc(ownerRepo string) []*github.... method gitHubTagsTemplateFunc (line 309) | func (c *Config) gitHubTagsTemplateFunc(ownerRepo string) []*github.Repo... method getGitHubTags (line 313) | func (c *Config) getGitHubTags(ownerRepo string) ([]*github.RepositoryTa... method getGitHubClient (line 366) | func (c *Config) getGitHubClient(ctx context.Context) (*github.Client, e... function gitHubSplitOwnerRepo (line 381) | func gitHubSplitOwnerRepo(ownerRepo string) (owner, repo string, err err... FILE: internal/cmd/gopasstemplatefuncs.go type gopassMode (line 19) | type gopassMode constant gopassModeBuiltin (line 22) | gopassModeBuiltin gopassMode = "builtin" constant gopassModeDefault (line 23) | gopassModeDefault gopassMode = "" type gopassConfig (line 33) | type gopassConfig struct method gopassTemplateFunc (line 44) | func (c *Config) gopassTemplateFunc(id string) string { method gopassRawTemplateFunc (line 69) | func (c *Config) gopassRawTemplateFunc(id string) string { method builtinGopassClient (line 92) | func (c *Config) builtinGopassClient() (*api.Gopass, error) { method builtinGopassSecret (line 115) | func (c *Config) builtinGopassSecret(name, revision string) (gopass.Secr... method gopassOutput (line 127) | func (c *Config) gopassOutput(args ...string) ([]byte, error) { FILE: internal/cmd/helpcmd.go method newHelpCmd (line 10) | func (c *Config) newHelpCmd() *cobra.Command { method runHelpCmd (line 28) | func (c *Config) runHelpCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/helps.gen.go type help (line 9) | type help struct FILE: internal/cmd/ignoredcmd.go type ignoredCmdConfig (line 9) | type ignoredCmdConfig struct method newIgnoredCmd (line 14) | func (c *Config) newIgnoredCmd() *cobra.Command { method runIgnoredCmd (line 36) | func (c *Config) runIgnoredCmd(cmd *cobra.Command, args []string, source... FILE: internal/cmd/importcmd.go type importCmdConfig (line 11) | type importCmdConfig struct method newImportCmd (line 19) | func (c *Config) newImportCmd() *cobra.Command { method runImportCmd (line 47) | func (c *Config) runImportCmd(cmd *cobra.Command, args []string, sourceS... FILE: internal/cmd/importcmd_test.go function TestImportCmd (line 17) | func TestImportCmd(t *testing.T) { FILE: internal/cmd/initcmd.go type initCmdConfig (line 21) | type initCmdConfig struct type gitCloneOptionsLogValuer (line 85) | type gitCloneOptionsLogValuer method LogValue (line 305) | func (o gitCloneOptionsLogValuer) LogValue() slog.Value { method newInitCmd (line 87) | func (c *Config) newInitCmd() *cobra.Command { method runInitCmd (line 125) | func (c *Config) runInitCmd(cmd *cobra.Command, args []string) error { method builtinGitClone (line 246) | func (c *Config) builtinGitClone(repoURLStr string, workingTreeRawPath c... method builtinGitInit (line 294) | func (c *Config) builtinGitInit(workingTreeRawPath chezmoi.AbsPath) error { function guessRepoURL (line 344) | func guessRepoURL(arg string, ssh bool) string { FILE: internal/cmd/initcmd_test.go function TestGuessRepoURL (line 15) | func TestGuessRepoURL(t *testing.T) { function TestIssue2137 (line 109) | func TestIssue2137(t *testing.T) { function TestIssue2283 (line 124) | func TestIssue2283(t *testing.T) { FILE: internal/cmd/inittemplatefuncs.go method exitInitTemplateFunc (line 11) | func (c *Config) exitInitTemplateFunc(code int) string { method stdinIsATTYInitTemplateFunc (line 15) | func (c *Config) stdinIsATTYInitTemplateFunc() bool { method writeToStdout (line 26) | func (c *Config) writeToStdout(args ...string) string { FILE: internal/cmd/inittemplatefuncs_test.go function TestPromptBoolInteractiveTemplateFunc (line 10) | func TestPromptBoolInteractiveTemplateFunc(t *testing.T) { function TestPromptChoiceInteractiveTemplateFunc (line 83) | func TestPromptChoiceInteractiveTemplateFunc(t *testing.T) { function TestPromptIntInteractiveTemplateFunc (line 173) | func TestPromptIntInteractiveTemplateFunc(t *testing.T) { function TestPromptMultichoiceInteractiveTemplateFunc (line 246) | func TestPromptMultichoiceInteractiveTemplateFunc(t *testing.T) { function TestPromptStringInteractiveTemplateFunc (line 350) | func TestPromptStringInteractiveTemplateFunc(t *testing.T) { FILE: internal/cmd/interactivetemplatefuncs.go type interactiveTemplateFuncsConfig (line 12) | type interactiveTemplateFuncsConfig struct method addInteractiveTemplateFuncFlags (line 22) | func (c *Config) addInteractiveTemplateFuncFlags(flags *pflag.FlagSet) { method promptBoolInteractiveTemplateFunc (line 67) | func (c *Config) promptBoolInteractiveTemplateFunc(prompt string, args .... method promptBoolOnceInteractiveTemplateFunc (line 79) | func (c *Config) promptBoolOnceInteractiveTemplateFunc(m map[string]any,... method promptChoiceInteractiveTemplateFunc (line 101) | func (c *Config) promptChoiceInteractiveTemplateFunc(prompt string, choi... method promptChoiceOnceInteractiveTemplateFunc (line 114) | func (c *Config) promptChoiceOnceInteractiveTemplateFunc( method promptMultichoiceInteractiveTemplateFunc (line 137) | func (c *Config) promptMultichoiceInteractiveTemplateFunc(prompt string,... method promptMultichoiceOnceInteractiveTemplateFunc (line 158) | func (c *Config) promptMultichoiceOnceInteractiveTemplateFunc( method promptIntInteractiveTemplateFunc (line 179) | func (c *Config) promptIntInteractiveTemplateFunc(prompt string, args ..... method promptIntOnceInteractiveTemplateFunc (line 191) | func (c *Config) promptIntOnceInteractiveTemplateFunc(m map[string]any, ... method promptStringInteractiveTemplateFunc (line 208) | func (c *Config) promptStringInteractiveTemplateFunc(prompt string, args... method promptStringOnceInteractiveTemplateFunc (line 220) | func (c *Config) promptStringOnceInteractiveTemplateFunc(m map[string]an... FILE: internal/cmd/internaltestcmd.go method newInternalTestCmd (line 12) | func (c *Config) newInternalTestCmd() *cobra.Command { method runInternalTestPromptBoolCmd (line 102) | func (c *Config) runInternalTestPromptBoolCmd(cmd *cobra.Command, args [... method runInternalTestPromptChoiceCmd (line 118) | func (c *Config) runInternalTestPromptChoiceCmd(cmd *cobra.Command, args... method runInternalTestPromptMultichoiceCmd (line 126) | func (c *Config) runInternalTestPromptMultichoiceCmd(cmd *cobra.Command,... method runInternalTestPromptIntCmd (line 147) | func (c *Config) runInternalTestPromptIntCmd(cmd *cobra.Command, args []... method runInternalTestPromptStringCmd (line 163) | func (c *Config) runInternalTestPromptStringCmd(cmd *cobra.Command, args... method runInternalTestReadPasswordCmd (line 171) | func (c *Config) runInternalTestReadPasswordCmd(cmd *cobra.Command, args... FILE: internal/cmd/interpreters.go function NewDefaultInterpreters (line 7) | func NewDefaultInterpreters(findExecutable func([]string, []string) (str... FILE: internal/cmd/interpreters_test.go function TestNewDefaultInterpreters_OtherInterpreters (line 11) | func TestNewDefaultInterpreters_OtherInterpreters(t *testing.T) { FILE: internal/cmd/interpreters_unix_test.go function TestNewDefaultInterpreters_PS1 (line 13) | func TestNewDefaultInterpreters_PS1(t *testing.T) { FILE: internal/cmd/interpreters_windows_test.go function TestNewDefaultInterpreters_PS1 (line 13) | func TestNewDefaultInterpreters_PS1(t *testing.T) { FILE: internal/cmd/keepassxctemplatefuncs.go type keepassxcMode (line 23) | type keepassxcMode constant keepassxcModeBuiltin (line 26) | keepassxcModeBuiltin keepassxcMode = "builtin" constant keepassxcModeCachePassword (line 27) | keepassxcModeCachePassword keepassxcMode = "cache-password" constant keepassxcModeOpen (line 28) | keepassxcModeOpen keepassxcMode = "open" type keepassxcAttributeCacheKey (line 31) | type keepassxcAttributeCacheKey struct type keepassxcConfig (line 36) | type keepassxcConfig struct method keepassxcAttachmentTemplateFunc (line 63) | func (c *Config) keepassxcAttachmentTemplateFunc(entry, name string) str... method keepassxcTemplateFunc (line 93) | func (c *Config) keepassxcTemplateFunc(entry string) map[string]string { method keepassxcAttributeTemplateFunc (line 117) | func (c *Config) keepassxcAttributeTemplateFunc(entry, attribute string)... method keepassxcOutput (line 152) | func (c *Config) keepassxcOutput(command string, args ...string) ([]byte... method keepassxcOutputCachePassword (line 169) | func (c *Config) keepassxcOutputCachePassword(command string, args ...st... method keepassxcOutputOpen (line 198) | func (c *Config) keepassxcOutputOpen(command string, args ...string) ([]... function keepassxcParseOutput (line 323) | func keepassxcParseOutput(output []byte) map[string]string { method keepassxcClose (line 339) | func (c *Config) keepassxcClose() error { method keepassxcBuiltinExtractValues (line 357) | func (c *Config) keepassxcBuiltinExtractValues( function keepassxcBuiltinBuildCache (line 390) | func keepassxcBuiltinBuildCache( function keepassxcBuiltinMapValueCache (line 430) | func keepassxcBuiltinMapValueCache(_ *gokeepasslib.Database, entry gokee... function keepassxcBuiltinMapAttachmentCache (line 439) | func keepassxcBuiltinMapAttachmentCache(db *gokeepasslib.Database, entry... FILE: internal/cmd/keepassxctemplatefuncs_test.go function TestKeepassxcParseOutput (line 19) | func TestKeepassxcParseOutput(t *testing.T) { type keepassEntry (line 56) | type keepassEntry struct function TestKeepassxcTemplateFuncs (line 67) | func TestKeepassxcTemplateFuncs(t *testing.T) { function createKeepassEntry (line 194) | func createKeepassEntry(t *testing.T, command, tempDir string, kpe keepa... FILE: internal/cmd/keepertemplatefuncs.go type keeperConfig (line 13) | type keeperConfig struct method keeperTemplateFunc (line 19) | func (c *Config) keeperTemplateFunc(record string) map[string]any { method keeperDataFieldsTemplateFunc (line 26) | func (c *Config) keeperDataFieldsTemplateFunc(record string) map[string]... method keeperFindPasswordTemplateFunc (line 44) | func (c *Config) keeperFindPasswordTemplateFunc(record string) string { method keeperOutput (line 49) | func (c *Config) keeperOutput(args []string) ([]byte, error) { FILE: internal/cmd/keyringtemplatefuncs.go type keyringKey (line 11) | type keyringKey struct type keyringData (line 16) | type keyringData struct method keyringTemplateFunc (line 20) | func (c *Config) keyringTemplateFunc(service, user string) string { FILE: internal/cmd/keyringtemplatefuncs_freebsdnocgo.go type keyringData (line 5) | type keyringData struct method keyringTemplateFunc (line 7) | func (c *Config) keyringTemplateFunc(service, user string) string { FILE: internal/cmd/lastpasstemplatefuncs.go type lastpassConfig (line 25) | type lastpassConfig struct method lastpassTemplateFunc (line 30) | func (c *Config) lastpassTemplateFunc(id string) []map[string]any { method lastpassRawTemplateFunc (line 40) | func (c *Config) lastpassRawTemplateFunc(id string) []map[string]any { method lastpassData (line 44) | func (c *Config) lastpassData(id string) ([]map[string]any, error) { method lastpassOutput (line 66) | func (c *Config) lastpassOutput(args ...string) ([]byte, error) { function lastpassParseNote (line 78) | func lastpassParseNote(note string) map[string]string { FILE: internal/cmd/lastpasstemplatefuncs_test.go function TestLastpassParseNote (line 12) | func TestLastpassParseNote(t *testing.T) { FILE: internal/cmd/lazyscryptidentity.go type LazyScryptIdentity (line 15) | type LazyScryptIdentity struct method Unwrap (line 21) | func (i *LazyScryptIdentity) Unwrap(stanzas []*age.Stanza) (fileKey []... FILE: internal/cmd/lazywriter.go type lazyWriter (line 9) | type lazyWriter struct method Close (line 22) | func (w *lazyWriter) Close() error { method Write (line 31) | func (w *lazyWriter) Write(p []byte) (int, error) { function newLazyWriter (line 16) | func newLazyWriter(openFunc func() (io.WriteCloser, error)) *lazyWriter { FILE: internal/cmd/licensecmd.go method newLicenseCmd (line 7) | func (c *Config) newLicenseCmd() *cobra.Command { method runLicenseCmd (line 26) | func (c *Config) runLicenseCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/mackupcmd_darwin.go type mackupApplicationApplicationConfig (line 22) | type mackupApplicationApplicationConfig struct type mackupApplicationConfig (line 26) | type mackupApplicationConfig struct method newMackupCmd (line 32) | func (c *Config) newMackupCmd() *cobra.Command { method runMackupAddCmd (line 61) | func (c *Config) runMackupAddCmd(cmd *cobra.Command, args []string, sour... method mackupApplicationsDir (line 115) | func (c *Config) mackupApplicationsDir() (chezmoi.AbsPath, error) { function parseMackupApplication (line 145) | func parseMackupApplication(data []byte) mackupApplicationConfig { FILE: internal/cmd/mackupcmd_darwin_test.go function TestParseMackupApplication (line 12) | func TestParseMackupApplication(t *testing.T) { FILE: internal/cmd/mackupcmd_nodarwin.go method newMackupCmd (line 9) | func (c *Config) newMackupCmd() *cobra.Command { FILE: internal/cmd/main_test.go function TestMain (line 50) | func TestMain(m *testing.M) { function TestScript (line 64) | func TestScript(t *testing.T) { function cmdAppendLine (line 177) | func cmdAppendLine(ts *testscript.TestScript, neg bool, args []string) { function cmdChHome (line 194) | func cmdChHome(ts *testscript.TestScript, neg bool, args []string) { function cmdCmpMod (line 218) | func cmdCmpMod(ts *testscript.TestScript, neg bool, args []string) { function cmdEdit (line 244) | func cmdEdit(ts *testscript.TestScript, neg bool, args []string) { function cmdExpandEnv (line 262) | func cmdExpandEnv(ts *testscript.TestScript, neg bool, args []string) { function cmdHTTPD (line 289) | func cmdHTTPD(ts *testscript.TestScript, neg bool, args []string) { function cmdHexDecode (line 303) | func cmdHexDecode(ts *testscript.TestScript, neg bool, args []string) { function cmdIsDir (line 330) | func cmdIsDir(ts *testscript.TestScript, neg bool, args []string) { function cmdIsSymlink (line 347) | func cmdIsSymlink(ts *testscript.TestScript, neg bool, args []string) { function cmdLExists (line 365) | func cmdLExists(ts *testscript.TestScript, neg bool, args []string) { function cmdMkFile (line 382) | func cmdMkFile(ts *testscript.TestScript, neg bool, args []string) { function cmdMkAgeConfig (line 411) | func cmdMkAgeConfig(ts *testscript.TestScript, neg bool, args []string) { function cmdMkGitConfig (line 440) | func cmdMkGitConfig(ts *testscript.TestScript, neg bool, args []string) { function cmdMkGPGConfig (line 464) | func cmdMkGPGConfig(ts *testscript.TestScript, neg bool, args []string) { function cmdMkHomeDir (line 515) | func cmdMkHomeDir(ts *testscript.TestScript, neg bool, args []string) { function cmdMkSourceDir (line 561) | func cmdMkSourceDir(ts *testscript.TestScript, neg bool, args []string) { function cmdMockCommand (line 602) | func cmdMockCommand(ts *testscript.TestScript, neg bool, args []string) { function cmdModifyFile (line 728) | func cmdModifyFile(ts *testscript.TestScript, neg bool, args []string) { function cmdPrependLine (line 747) | func cmdPrependLine(ts *testscript.TestScript, neg bool, args []string) { function cmdReadLink (line 762) | func cmdReadLink(ts *testscript.TestScript, neg bool, args []string) { function cmdRemoveLine (line 778) | func cmdRemoveLine(ts *testscript.TestScript, neg bool, args []string) { function cmdRmDir (line 806) | func cmdRmDir(ts *testscript.TestScript, neg bool, args []string) { function cmdRmFinalNewline (line 819) | func cmdRmFinalNewline(ts *testscript.TestScript, neg bool, args []strin... function cmdSleep (line 842) | func cmdSleep(ts *testscript.TestScript, neg bool, args []string) { function cmdUNIX2DOS (line 855) | func cmdUNIX2DOS(ts *testscript.TestScript, neg bool, args []string) { function goosCondition (line 876) | func goosCondition(cond string) (result, valid bool) { function prependDirToPath (line 922) | func prependDirToPath(dir, pathStr string) string { function setup (line 926) | func setup(env *testscript.Env) error { function unix2DOS (line 1009) | func unix2DOS(data []byte) ([]byte, error) { function writeNewFile (line 1022) | func writeNewFile(filename string, data []byte, perm fs.FileMode) error { FILE: internal/cmd/managedcmd.go type managedCmdConfig (line 12) | type managedCmdConfig struct method newManagedCmd (line 20) | func (c *Config) newManagedCmd() *cobra.Command { method runManagedCmd (line 47) | func (c *Config) runManagedCmd(cmd *cobra.Command, args []string, source... FILE: internal/cmd/managedcmd_test.go function TestManagedCmd (line 13) | func TestManagedCmd(t *testing.T) { FILE: internal/cmd/mergeallcmd.go type mergeAllCmdConfig (line 11) | type mergeAllCmdConfig struct method newMergeAllCmd (line 16) | func (c *Config) newMergeAllCmd() *cobra.Command { method runMergeAllCmd (line 38) | func (c *Config) runMergeAllCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/mergecmd.go type mergeCmdConfig (line 14) | type mergeCmdConfig struct method newMergeCmd (line 19) | func (c *Config) newMergeCmd() *cobra.Command { method runMergeCmd (line 39) | func (c *Config) runMergeCmd(cmd *cobra.Command, args []string, sourceSt... method doMerge (line 61) | func (c *Config) doMerge(targetRelPath chezmoi.RelPath, sourceStateEntry... FILE: internal/cmd/noupgradecmd.go type upgradeCmdConfig (line 12) | type upgradeCmdConfig struct method newUpgradeCmd (line 18) | func (c *Config) newUpgradeCmd() *cobra.Command { function getUpgradeMethod (line 22) | func getUpgradeMethod(vfs.FS, chezmoi.AbsPath) (string, error) { FILE: internal/cmd/onepasswordtemplatefuncs.go type onepasswordMode (line 17) | type onepasswordMode constant onepasswordModeAccount (line 20) | onepasswordModeAccount onepasswordMode = "account" constant onepasswordModeConnect (line 21) | onepasswordModeConnect onepasswordMode = "connect" constant onepasswordModeService (line 22) | onepasswordModeService onepasswordMode = "service" type withSessionTokenType (line 25) | type withSessionTokenType constant withSessionToken (line 28) | withSessionToken withSessionTokenType = true constant withoutSessionToken (line 29) | withoutSessionToken withSessionTokenType = false type onepasswordAccount (line 37) | type onepasswordAccount struct type onepasswordConfig (line 45) | type onepasswordConfig struct type onepasswordArgs (line 56) | type onepasswordArgs struct type onepasswordItem (line 63) | type onepasswordItem struct method onepasswordTemplateFunc (line 67) | func (c *Config) onepasswordTemplateFunc(userArgs ...string) map[string]... method onepasswordDetailsFieldsTemplateFunc (line 76) | func (c *Config) onepasswordDetailsFieldsTemplateFunc(userArgs ...string... method onepasswordDocumentTemplateFunc (line 95) | func (c *Config) onepasswordDocumentTemplateFunc(userArgs ...string) str... method onepasswordItemFieldsTemplateFunc (line 104) | func (c *Config) onepasswordItemFieldsTemplateFunc(userArgs ...string) m... method onepasswordGetOrRefreshSessionToken (line 121) | func (c *Config) onepasswordGetOrRefreshSessionToken(args *onepasswordAr... method onepasswordItem (line 170) | func (c *Config) onepasswordItem(userArgs []string) (*onepasswordItem, e... method onepasswordOutput (line 188) | func (c *Config) onepasswordOutput(args *onepasswordArgs, withSessionTok... method onepasswordReadTemplateFunc (line 221) | func (c *Config) onepasswordReadTemplateFunc(url string, args ...string)... method onepasswordAccount (line 243) | func (c *Config) onepasswordAccount(key string) string { method onepasswordAccounts (line 256) | func (c *Config) onepasswordAccounts() (map[string]string, error) { method newOnepasswordArgs (line 286) | func (c *Config) newOnepasswordArgs(baseArgs, userArgs []string) (*onepa... function onepasswordAccountMap (line 322) | func onepasswordAccountMap(accounts []onepasswordAccount) map[string]str... function onepasswordUniqueSessionToken (line 366) | func onepasswordUniqueSessionToken(environ []string) string { method onepasswordCheckMode (line 382) | func (c *Config) onepasswordCheckMode() error { function onepasswordCheckInvalidAccountParameters (line 428) | func onepasswordCheckInvalidAccountParameters(mode onepasswordMode) error { FILE: internal/cmd/onepasswordtemplatefuncs_test.go function TestOnepasswordAccountMap (line 9) | func TestOnepasswordAccountMap(t *testing.T) { FILE: internal/cmd/passholetemplatefuncs.go type passholeCacheKey (line 15) | type passholeCacheKey struct type passholeConfig (line 20) | type passholeConfig struct method passholeTemplateFunc (line 30) | func (c *Config) passholeTemplateFunc(path, field string) string { method passholeOutput (line 59) | func (c *Config) passholeOutput(name string, args []string, stdin io.Rea... FILE: internal/cmd/passtemplatefuncs.go type passConfig (line 11) | type passConfig struct method passTemplateFunc (line 16) | func (c *Config) passTemplateFunc(id string) string { method passFieldsTemplateFunc (line 22) | func (c *Config) passFieldsTemplateFunc(id string) map[string]string { method passRawTemplateFunc (line 34) | func (c *Config) passRawTemplateFunc(id string) string { method passOutput (line 38) | func (c *Config) passOutput(id string) ([]byte, error) { FILE: internal/cmd/pathlist.go type pathListTreeNode (line 9) | type pathListTreeNode struct method write (line 37) | func (n *pathListTreeNode) write(sb *strings.Builder, prefix, indent s... method writeChildren (line 44) | func (n *pathListTreeNode) writeChildren(sb *strings.Builder, prefix, ... function newPathListTreeNode (line 14) | func newPathListTreeNode(component string) *pathListTreeNode { function newPathListTreeFromPathsSlice (line 21) | func newPathListTreeFromPathsSlice(paths []string) *pathListTreeNode { FILE: internal/cmd/pathlist_test.go function TestNewNodeFromPathsSlice (line 12) | func TestNewNodeFromPathsSlice(t *testing.T) { FILE: internal/cmd/pathstyle.go constant pathStyleAbsolute (line 4) | pathStyleAbsolute = "absolute" constant pathStyleRelative (line 5) | pathStyleRelative = "relative" constant pathStyleSourceAbsolute (line 6) | pathStyleSourceAbsolute = "source-absolute" constant pathStyleSourceRelative (line 7) | pathStyleSourceRelative = "source-relative" constant pathStyleAll (line 8) | pathStyleAll = "all" FILE: internal/cmd/pinentry.go type pinEntryConfig (line 9) | type pinEntryConfig struct method readPINEntry (line 19) | func (c *Config) readPINEntry(prompt string) (string, error) { FILE: internal/cmd/prompt.go method readBool (line 18) | func (c *Config) readBool(prompt string, defaultValue *bool) (bool, erro... method readChoice (line 53) | func (c *Config) readChoice(prompt string, choices []string, defaultValu... method readInt (line 89) | func (c *Config) readInt(prompt string, defaultValue *int64) (int64, err... method readLineRaw (line 124) | func (c *Config) readLineRaw(prompt string) (string, error) { method readMultichoice (line 140) | func (c *Config) readMultichoice(prompt string, choices []string, defaul... method readPassword (line 211) | func (c *Config) readPassword(prompt, placeholder string) (string, error) { method readString (line 228) | func (c *Config) readString(prompt string, defaultValue *string) (string... method promptBool (line 258) | func (c *Config) promptBool(prompt string, args ...bool) (bool, error) { method promptChoice (line 276) | func (c *Config) promptChoice(prompt string, choices []string, args ...s... method promptInt (line 296) | func (c *Config) promptInt(prompt string, args ...int64) (int64, error) { method promptMultichoice (line 313) | func (c *Config) promptMultichoice(prompt string, choices []string, defa... method promptString (line 329) | func (c *Config) promptString(prompt string, args ...string) (string, er... type cancelableModel (line 346) | type cancelableModel interface function runCancelableModel (line 351) | func runCancelableModel[M cancelableModel](initModel M) (M, error) { function runModel (line 362) | func runModel[M tea.Model](initModel M) (M, error) { FILE: internal/cmd/protonpasstemplatefuncs.go type protonPassConfig (line 12) | type protonPassConfig struct method protonPassTemplateFunc (line 17) | func (c *Config) protonPassTemplateFunc(item string) string { method protonPassJSONTemplateFunc (line 22) | func (c *Config) protonPassJSONTemplateFunc(item string) any { method protonPassOutput (line 30) | func (c *Config) protonPassOutput(args []string) ([]byte, error) { FILE: internal/cmd/purgecmd.go type purgeCmdConfig (line 16) | type purgeCmdConfig struct method newPurgeCmd (line 20) | func (c *Config) newPurgeCmd() *cobra.Command { method runPurgeCmd (line 42) | func (c *Config) runPurgeCmd(cmd *cobra.Command, args []string) error { method doPurge (line 55) | func (c *Config) doPurge(options *doPurgeOptions) error { FILE: internal/cmd/rbwtemplatefuncs.go type rbwConfig (line 14) | type rbwConfig struct method rbwFieldsTemplateFunc (line 21) | func (c *Config) rbwFieldsTemplateFunc(name string, extraArgs ...string)... method rbwTemplateFunc (line 37) | func (c *Config) rbwTemplateFunc(name string, extraArgs ...string) map[s... method rbwOutput (line 45) | func (c *Config) rbwOutput(args []string) ([]byte, error) { FILE: internal/cmd/readdcmd.go type reAddCmdConfig (line 18) | type reAddCmdConfig struct type fileInfo (line 26) | type fileInfo struct method Name (line 34) | func (fi *fileInfo) Name() string { return fi.name } method Size (line 35) | func (fi *fileInfo) Size() int64 { return fi.size } method Mode (line 36) | func (fi *fileInfo) Mode() fs.FileMode { return fi.mode } method ModTime (line 37) | func (fi *fileInfo) ModTime() time.Time { return fi.modTime } method IsDir (line 38) | func (fi *fileInfo) IsDir() bool { return fi.isDir } method Sys (line 39) | func (fi *fileInfo) Sys() any { return nil } method newReAddCmd (line 41) | func (c *Config) newReAddCmd() *cobra.Command { method runReAddCmd (line 66) | func (c *Config) runReAddCmd(cmd *cobra.Command, args []string, sourceSt... method processExactDirs (line 223) | func (c *Config) processExactDirs( FILE: internal/cmd/readdcmd_test.go function TestIssue3891 (line 17) | func TestIssue3891(t *testing.T) { FILE: internal/cmd/readhttpresponse.go constant httpProgressWidth (line 16) | httpProgressWidth = 38 type httpProgressModel (line 18) | type httpProgressModel struct method Canceled (line 37) | func (m httpProgressModel) Canceled() bool { method Init (line 41) | func (m httpProgressModel) Init() tea.Cmd { method Update (line 45) | func (m httpProgressModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 69) | func (m httpProgressModel) View() string { type httpSpinnerModel (line 25) | type httpSpinnerModel struct method Canceled (line 73) | func (m httpSpinnerModel) Canceled() bool { method Init (line 77) | func (m httpSpinnerModel) Init() tea.Cmd { method Update (line 81) | func (m httpSpinnerModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) { method View (line 106) | func (m httpSpinnerModel) View() string { type bytesReadMsg (line 31) | type bytesReadMsg type doneMsg (line 33) | type doneMsg struct method readHTTPResponse (line 110) | func (c *Config) readHTTPResponse(url string, resp *http.Response) ([]by... type hookWriter (line 150) | type hookWriter struct method Write (line 154) | func (w *hookWriter) Write(p []byte) (int, error) { function runReadHTTPResponse (line 158) | func runReadHTTPResponse(model cancelableModel, resp *http.Response) ([]... function makeNightriderFrames (line 188) | func makeNightriderFrames(shape string, padding rune, width int) []string { FILE: internal/cmd/readhttpresponse_test.go function TestMakeNightriderFrames (line 10) | func TestMakeNightriderFrames(t *testing.T) { FILE: internal/cmd/removecmd.go method newRemoveCmd (line 9) | func (c *Config) newRemoveCmd() *cobra.Command { method runRemoveCmd (line 26) | func (c *Config) runRemoveCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/secretcmd.go type secretCmdConfig (line 5) | type secretCmdConfig struct method newSecretCmd (line 9) | func (c *Config) newSecretCmd() *cobra.Command { FILE: internal/cmd/secretkeyringcmd.go type secretKeyringCmdConfig (line 10) | type secretKeyringCmdConfig struct type secretKeyringDeleteCmdConfig (line 16) | type secretKeyringDeleteCmdConfig struct type secretKeyringGetCmdConfig (line 21) | type secretKeyringGetCmdConfig struct type secretKeyringSetCmdConfig (line 26) | type secretKeyringSetCmdConfig struct method newSecretKeyringCmd (line 32) | func (c *Config) newSecretKeyringCmd() *cobra.Command { method runSecretKeyringDeleteCmdE (line 91) | func (c *Config) runSecretKeyringDeleteCmdE(cmd *cobra.Command, args []s... method runSecretKeyringGetCmdE (line 95) | func (c *Config) runSecretKeyringGetCmdE(cmd *cobra.Command, args []stri... method runSecretKeyringSetCmdE (line 103) | func (c *Config) runSecretKeyringSetCmdE(cmd *cobra.Command, args []stri... FILE: internal/cmd/secretkeyringcmd_freebsdnocgo.go type secretKeyringCmdConfig (line 7) | type secretKeyringCmdConfig struct method newSecretKeyringCmd (line 9) | func (c *Config) newSecretKeyringCmd() *cobra.Command { FILE: internal/cmd/secrettemplatefuncs.go type secretConfig (line 14) | type secretConfig struct method secretTemplateFunc (line 20) | func (c *Config) secretTemplateFunc(args ...string) string { method secretJSONTemplateFunc (line 24) | func (c *Config) secretJSONTemplateFunc(args ...string) any { method secretOutput (line 31) | func (c *Config) secretOutput(args []string) ([]byte, error) { FILE: internal/cmd/shellquote.go function shellQuote (line 13) | func shellQuote(s string) string { function shellQuoteCommand (line 57) | func shellQuoteCommand(command string, args []string) string { FILE: internal/cmd/shellquote_test.go function TestShellQuote (line 9) | func TestShellQuote(t *testing.T) { function TestShellQuoteCommand (line 28) | func TestShellQuoteCommand(t *testing.T) { FILE: internal/cmd/sourcepathcmd.go method newSourcePathCmd (line 10) | func (c *Config) newSourcePathCmd() *cobra.Command { method runSourcePathCmd (line 27) | func (c *Config) runSourcePathCmd(cmd *cobra.Command, args []string) err... FILE: internal/cmd/sshcmd.go type sshCmdConfig (line 9) | type sshCmdConfig struct method newSSHCmd (line 14) | func (c *Config) newSSHCmd() *cobra.Command { method runSSHCmd (line 33) | func (c *Config) runSSHCmd(cmd *cobra.Command, args []string, sourceStat... FILE: internal/cmd/statecmd.go type stateCmdConfig (line 14) | type stateCmdConfig struct type stateDataCmdConfig (line 24) | type stateDataCmdConfig struct type stateDeleteCmdConfig (line 28) | type stateDeleteCmdConfig struct type stateDeleteBucketCmdConfig (line 33) | type stateDeleteBucketCmdConfig struct type stateDumpCmdConfig (line 37) | type stateDumpCmdConfig struct type stateGetCmdConfig (line 41) | type stateGetCmdConfig struct type stateGetBucketCmdConfig (line 46) | type stateGetBucketCmdConfig struct type stateSetCmdConfig (line 51) | type stateSetCmdConfig struct method newStateCmd (line 57) | func (c *Config) newStateCmd() *cobra.Command { method runStateDataCmd (line 176) | func (c *Config) runStateDataCmd(cmd *cobra.Command, args []string) error { method runStateDeleteCmd (line 184) | func (c *Config) runStateDeleteCmd(cmd *cobra.Command, args []string) er... method runStateDeleteBucketCmd (line 188) | func (c *Config) runStateDeleteBucketCmd(cmd *cobra.Command, args []stri... method runStateDumpCmd (line 192) | func (c *Config) runStateDumpCmd(cmd *cobra.Command, args []string) error { method runStateGetCmd (line 210) | func (c *Config) runStateGetCmd(cmd *cobra.Command, args []string) error { method runStateGetBucketCmd (line 218) | func (c *Config) runStateGetBucketCmd(cmd *cobra.Command, args []string)... method runStateResetCmd (line 226) | func (c *Config) runStateResetCmd(cmd *cobra.Command, args []string) err... method runStateSetCmd (line 251) | func (c *Config) runStateSetCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/statuscmd.go type statusCmdConfig (line 15) | type statusCmdConfig struct method newStatusCmd (line 24) | func (c *Config) newStatusCmd() *cobra.Command { method runStatusCmd (line 52) | func (c *Config) runStatusCmd(cmd *cobra.Command, args []string) error { function statusRune (line 103) | func statusRune(fromState, toState *chezmoi.EntryState) rune { FILE: internal/cmd/statuscmd_test.go function TestStatusCmd (line 14) | func TestStatusCmd(t *testing.T) { FILE: internal/cmd/symlinks_test.go function TestSymlinks (line 14) | func TestSymlinks(t *testing.T) { FILE: internal/cmd/targetpathcmd.go method newTargetPathCmd (line 11) | func (c *Config) newTargetPathCmd() *cobra.Command { method runTargetPathCmd (line 27) | func (c *Config) runTargetPathCmd(cmd *cobra.Command, args []string) err... FILE: internal/cmd/templatefuncs.go type ioregData (line 31) | type ioregData struct type emptyPathElementError (line 36) | type emptyPathElementError struct method Error (line 40) | func (e emptyPathElementError) Error() string { type invalidPathElementTypeError (line 46) | type invalidPathElementTypeError struct method Error (line 50) | func (e invalidPathElementTypeError) Error() string { type invalidPathTypeError (line 55) | type invalidPathTypeError struct method Error (line 59) | func (e invalidPathTypeError) Error() string { method commentTemplateFunc (line 70) | func (c *Config) commentTemplateFunc(prefix, s string) string { method deleteValueAtPathTemplateFunc (line 79) | func (c *Config) deleteValueAtPathTemplateFunc(path string, dict map[str... method eqFoldTemplateFunc (line 98) | func (c *Config) eqFoldTemplateFunc(first, second string, more ...string... method ensureLinePrefixTemplateFunc (line 110) | func (c *Config) ensureLinePrefixTemplateFunc(args ...string) string { method execTemplateFunc (line 130) | func (c *Config) execTemplateFunc(name string, args ...string) bool { method findExecutableTemplateFunc (line 143) | func (c *Config) findExecutableTemplateFunc(file string, pathList any) s... method findOneExecutableTemplateFunc (line 157) | func (c *Config) findOneExecutableTemplateFunc(fileList, pathList any) s... method fromIniTemplateFunc (line 175) | func (c *Config) fromIniTemplateFunc(s string) map[string]any { method fromJsonTemplateFunc (line 185) | func (c *Config) fromJsonTemplateFunc(s string) any { method fromJsoncTemplateFunc (line 193) | func (c *Config) fromJsoncTemplateFunc(s string) any { method fromTomlTemplateFunc (line 199) | func (c *Config) fromTomlTemplateFunc(s string) any { method fromYamlTemplateFunc (line 205) | func (c *Config) fromYamlTemplateFunc(s string) any { method getRedirectedURLTemplateFunc (line 211) | func (c *Config) getRedirectedURLTemplateFunc(requestURL string) string { method globTemplateFunc (line 219) | func (c *Config) globTemplateFunc(pattern string) []string { method hexDecodeTemplateFunc (line 236) | func (c *Config) hexDecodeTemplateFunc(s string) string { method hexEncodeTemplateFunc (line 240) | func (c *Config) hexEncodeTemplateFunc(s string) string { method includeTemplateFunc (line 244) | func (c *Config) includeTemplateFunc(filename string) string { method includeTemplateTemplateFunc (line 249) | func (c *Config) includeTemplateTemplateFunc(filename string, args ...an... method ioregTemplateFunc (line 274) | func (c *Config) ioregTemplateFunc() map[string]any { method joinPathTemplateFunc (line 298) | func (c *Config) joinPathTemplateFunc(elems ...any) string { method jqTemplateFunc (line 306) | func (c *Config) jqTemplateFunc(source string, input any) any { method lookPathTemplateFunc (line 324) | func (c *Config) lookPathTemplateFunc(file string) string { method isExecutableTemplateFunc (line 337) | func (c *Config) isExecutableTemplateFunc(file string) bool { method lstatTemplateFunc (line 348) | func (c *Config) lstatTemplateFunc(name string) any { method mozillaInstallHashTemplateFunc (line 359) | func (c *Config) mozillaInstallHashTemplateFunc(path string) string { method outputTemplateFunc (line 363) | func (c *Config) outputTemplateFunc(name string, args ...string) string { method outputListTemplateFunc (line 373) | func (c *Config) outputListTemplateFunc(name string, args []any) string { method pruneEmptyDictsTemplateFunc (line 382) | func (c *Config) pruneEmptyDictsTemplateFunc(dict map[string]any) map[st... method quoteTemplateFunc (line 387) | func (c *Config) quoteTemplateFunc(list ...any) string { method squoteTemplateFunc (line 397) | func (c *Config) squoteTemplateFunc(list ...any) string { method quoteListTemplateFunc (line 407) | func (c *Config) quoteListTemplateFunc(list any) []string { method readFile (line 419) | func (c *Config) readFile(filename string, searchDirAbsPaths []chezmoi.A... method replaceAllRegexTemplateFunc (line 439) | func (c *Config) replaceAllRegexTemplateFunc(expr, repl, s string) string { method setValueAtPathTemplateFunc (line 443) | func (c *Config) setValueAtPathTemplateFunc(path, value, dict any) any { method splitListTemplateFunc (line 472) | func (c *Config) splitListTemplateFunc(sep, s string) []any { method statTemplateFunc (line 481) | func (c *Config) statTemplateFunc(name string) any { method toIniTemplateFunc (line 492) | func (c *Config) toIniTemplateFunc(data map[string]any) string { method toPrettyJsonTemplateFunc (line 498) | func (c *Config) toPrettyJsonTemplateFunc(args ...any) string { //nolint... method toStringTemplateFunc (line 525) | func (c *Config) toStringTemplateFunc(value any) string { method toStringsTemplateFunc (line 529) | func (c *Config) toStringsTemplateFunc(values ...any) []string { method toTomlTemplateFunc (line 537) | func (c *Config) toTomlTemplateFunc(data any) string { method toYamlTemplateFunc (line 541) | func (c *Config) toYamlTemplateFunc(data any) string { method warnfTemplateFunc (line 545) | func (c *Config) warnfTemplateFunc(format string, args ...any) string { function anyToString (line 550) | func anyToString(value any) string { function anyToStringSlice (line 591) | func anyToStringSlice(value any) ([]string, error) { function fileInfoToMap (line 628) | func fileInfoToMap(fileInfo fs.FileInfo) map[string]any { function iniFileToMap (line 640) | func iniFileToMap(file *ini.File) map[string]any { function iniSectionToMap (line 654) | func iniSectionToMap(section *ini.Section) map[string]any { function keysFromPath (line 665) | func keysFromPath(path any) ([]string, string, error) { function nestedMapAtPath (line 721) | func nestedMapAtPath(m map[string]any, path any) (map[string]any, string... function writeIniMap (line 736) | func writeIniMap(w io.Writer, data map[string]any, sectionPrefix string)... function maybeQuote (line 777) | func maybeQuote(s string) string { function needsQuote (line 784) | func needsQuote(s string) bool { function pruneEmptyMaps (line 802) | func pruneEmptyMaps(m map[string]any) bool { FILE: internal/cmd/templatefuncs_test.go function TestCommentTemplateFunc (line 17) | func TestCommentTemplateFunc(t *testing.T) { function TestDeleteValueAtPathTemplateFunc (line 59) | func TestDeleteValueAtPathTemplateFunc(t *testing.T) { function TestFromJson (line 165) | func TestFromJson(t *testing.T) { function TestPruneEmptyDicts (line 203) | func TestPruneEmptyDicts(t *testing.T) { function TestQuoteTemplateFunc (line 236) | func TestQuoteTemplateFunc(t *testing.T) { function TestSquoteTemplateFunc (line 289) | func TestSquoteTemplateFunc(t *testing.T) { function TestSetValueAtPathTemplateFunc (line 342) | func TestSetValueAtPathTemplateFunc(t *testing.T) { function TestFromIniTemplateFunc (line 509) | func TestFromIniTemplateFunc(t *testing.T) { function TestKeysFromPath (line 554) | func TestKeysFromPath(t *testing.T) { function TestNestedMapAtPath (line 678) | func TestNestedMapAtPath(t *testing.T) { function TestToIniTemplateFunc (line 745) | func TestToIniTemplateFunc(t *testing.T) { function TestNeedsQuote (line 881) | func TestNeedsQuote(t *testing.T) { function TestQuoteListTemplateFunc (line 917) | func TestQuoteListTemplateFunc(t *testing.T) { function TestGetRedirectedURLTemplateFunc (line 936) | func TestGetRedirectedURLTemplateFunc(t *testing.T) { FILE: internal/cmd/textconv.go type textConvElement (line 14) | type textConvElement struct type textConv (line 20) | type textConv method convert (line 22) | func (t textConv) convert(path string, data []byte) ([]byte, bool, err... FILE: internal/cmd/unmanagedcmd.go type unmanagedCmdConfig (line 14) | type unmanagedCmdConfig struct method newUnmanagedCmd (line 21) | func (c *Config) newUnmanagedCmd() *cobra.Command { method runUnmanagedCmd (line 46) | func (c *Config) runUnmanagedCmd(cmd *cobra.Command, args []string, sour... FILE: internal/cmd/unmanagedcmd_test.go function TestUnmanagedCmd (line 13) | func TestUnmanagedCmd(t *testing.T) { FILE: internal/cmd/updatecmd.go type updateCmdConfig (line 12) | type updateCmdConfig struct method newUpdateCmd (line 23) | func (c *Config) newUpdateCmd() *cobra.Command { method runUpdateCmd (line 54) | func (c *Config) runUpdateCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/upgradecmd.go constant upgradeMethodBrewUpgrade (line 31) | upgradeMethodBrewUpgrade = "brew-upgrade" constant upgradeMethodReplaceExecutable (line 32) | upgradeMethodReplaceExecutable = "replace-executable" constant upgradeMethodSnapRefresh (line 33) | upgradeMethodSnapRefresh = "snap-refresh" constant upgradeMethodUpgradePackage (line 34) | upgradeMethodUpgradePackage = "upgrade-package" constant upgradeMethodSudoPrefix (line 35) | upgradeMethodSudoPrefix = "sudo-" constant upgradeMethodWinGetUpgrade (line 36) | upgradeMethodWinGetUpgrade = "winget-upgrade" type upgradeCmdConfig (line 44) | type upgradeCmdConfig struct method newUpgradeCmd (line 49) | func (c *Config) newUpgradeCmd() *cobra.Command { method runUpgradeCmd (line 71) | func (c *Config) runUpgradeCmd(cmd *cobra.Command, args []string) error { method getChecksums (line 174) | func (c *Config) getChecksums(ctx context.Context, rr *github.Repository... method downloadURL (line 197) | func (c *Config) downloadURL(ctx context.Context, url string) ([]byte, e... method replaceExecutable (line 224) | func (c *Config) replaceExecutable( method verifyChecksum (line 301) | func (c *Config) verifyChecksum(ctx context.Context, rr *github.Reposito... function getReleaseAssetByName (line 319) | func getReleaseAssetByName(rr *github.RepositoryRelease, name string) *g... FILE: internal/cmd/upgradecmd_test.go function TestConfigGetPackageFilename (line 13) | func TestConfigGetPackageFilename(t *testing.T) { FILE: internal/cmd/upgradecmd_unix.go constant packageTypeNone (line 22) | packageTypeNone = "" constant packageTypeAPK (line 23) | packageTypeAPK = "apk" constant packageTypeAUR (line 24) | packageTypeAUR = "aur" constant packageTypeDEB (line 25) | packageTypeDEB = "deb" constant packageTypeRPM (line 26) | packageTypeRPM = "rpm" method brewUpgrade (line 57) | func (c *Config) brewUpgrade() error { method getPackageFilename (line 61) | func (c *Config) getPackageFilename(packageType string, version *semver.... method snapRefresh (line 77) | func (c *Config) snapRefresh() error { method upgradeUNIXPackage (line 81) | func (c *Config) upgradeUNIXPackage( method winGetUpgrade (line 154) | func (c *Config) winGetUpgrade() error { function getPackageType (line 159) | func getPackageType(system chezmoi.System) (string, error) { function getUpgradeMethod (line 186) | func getUpgradeMethod(fileSystem vfs.Stater, executableAbsPath chezmoi.A... FILE: internal/cmd/upgradecmd_windows.go type InstallBehavior (line 19) | type InstallBehavior struct method Values (line 24) | func (ib *InstallBehavior) Values() []string { type WinGetSettings (line 31) | type WinGetSettings struct method brewUpgrade (line 35) | func (c *Config) brewUpgrade() error { function isWinGetInstall (line 41) | func isWinGetInstall(fileSystem vfs.Stater, executableAbsPath string) (b... method snapRefresh (line 85) | func (c *Config) snapRefresh() error { method upgradeUNIXPackage (line 89) | func (c *Config) upgradeUNIXPackage(_ context.Context, _ *semver.Version... method winGetUpgrade (line 93) | func (c *Config) winGetUpgrade() error { //nolint:staticcheck function getUpgradeMethod (line 101) | func getUpgradeMethod(fileSystem vfs.Stater, executableAbsPath chezmoi.A... FILE: internal/cmd/util.go function camelCaseToUpperSnakeCase (line 39) | func camelCaseToUpperSnakeCase(s string) string { function englishList (line 68) | func englishList(ss []string) string { function englishListWithNoun (line 83) | func englishListWithNoun(ss []string, singular, plural string) string { function pluralize (line 99) | func pluralize(singular string) string { function stringersToStrings (line 107) | func stringersToStrings[T fmt.Stringer](ss []T) []string { function titleFirst (line 116) | func titleFirst(s string) string { function upperSnakeCaseToCamelCase (line 126) | func upperSnakeCaseToCamelCase(s string) string { function upperSnakeCaseToCamelCaseMap (line 140) | func upperSnakeCaseToCamelCaseMap[V any](m map[string]V) map[string]V { FILE: internal/cmd/util_test.go function TestCamelCaseToUpperSnakeCase (line 9) | func TestCamelCaseToUpperSnakeCase(t *testing.T) { function TestEnglishList (line 38) | func TestEnglishList(t *testing.T) { function TestEnglishListWithNoun (line 68) | func TestEnglishListWithNoun(t *testing.T) { function TestUpperSnakeCaseToCamelCaseMap (line 141) | func TestUpperSnakeCaseToCamelCaseMap(t *testing.T) { FILE: internal/cmd/util_unix.go constant defaultEditor (line 14) | defaultEditor = "vi" function fileInfoUID (line 16) | func fileInfoUID(info fs.FileInfo) int { function getPS1Interpreter (line 25) | func getPS1Interpreter(findExecutable func([]string, []string) (string, ... function windowsVersion (line 37) | func windowsVersion() (map[string]any, error) { FILE: internal/cmd/util_windows.go constant defaultEditor (line 13) | defaultEditor = "notepad.exe" function getPS1Interpreter (line 20) | func getPS1Interpreter(findExecutable func([]string, []string) (string, ... function windowsVersion (line 39) | func windowsVersion() (map[string]any, error) { FILE: internal/cmd/vaulttemplatefuncs.go type vaultConfig (line 11) | type vaultConfig struct method vaultTemplateFunc (line 16) | func (c *Config) vaultTemplateFunc(key string) any { FILE: internal/cmd/verifycmd.go type verifyCmdConfig (line 9) | type verifyCmdConfig struct method newVerifyCmd (line 17) | func (c *Config) newVerifyCmd() *cobra.Command { method runVerifyCmd (line 41) | func (c *Config) runVerifyCmd(cmd *cobra.Command, args []string) error { FILE: internal/cmd/verifycmd_test.go function TestVerifyCmd (line 14) | func TestVerifyCmd(t *testing.T) { FILE: internal/cmds/execute-template/main.go type gitHubClient (line 42) | type gitHubClient struct method gitHubListReleases (line 54) | func (c *gitHubClient) gitHubListReleases(ownerRepo string) []*github.... method gitHubLatestRelease (line 78) | func (c *gitHubClient) gitHubLatestRelease(ownerRepo string) *github.R... function newGitHubClient (line 47) | func newGitHubClient(ctx context.Context) *gitHubClient { function slugify (line 92) | func slugify(s string) string { function run (line 99) | func run() error { function main (line 182) | func main() { FILE: internal/cmds/execute-template/main_test.go function TestSlugify (line 9) | func TestSlugify(t *testing.T) { FILE: internal/cmds/generate-commit/main.go function main (line 14) | func main() { FILE: internal/cmds/generate-helps/main.go type help (line 27) | type help struct function run (line 43) | func run() error { function main (line 147) | func main() { function extractHelp (line 155) | func extractHelp(command string, data []byte, longHelpTermRenderer, exam... function renderLines (line 246) | func renderLines(lines []string, termRenderer *glamour.TermRenderer) (st... FILE: internal/cmds/generate-install.sh/main.go type platform (line 29) | type platform struct method String (line 41) | func (p platform) String() string { function newPlatform (line 34) | func newPlatform(goos, goarch string) platform { type platformValue (line 45) | type platformValue struct type platformSet (line 51) | type platformSet function goToolDistList (line 53) | func goToolDistList() (platformSet, error) { function run (line 73) | func run() error { function main (line 146) | func main() { FILE: internal/cmds/generate-install.sh/main_test.go function TestGoToolDistList (line 9) | func TestGoToolDistList(t *testing.T) { FILE: internal/cmds/generate-license/main.go function run (line 29) | func run() error { function main (line 88) | func main() { FILE: internal/cmds/hexencode/main.go function run (line 12) | func run() error { function main (line 26) | func main() { FILE: internal/cmds/lint-commit-messages/main.go function run (line 16) | func run() error { function main (line 45) | func main() { FILE: internal/cmds/lint-commit-messages/main_test.go function TestCommitRx (line 10) | func TestCommitRx(t *testing.T) { FILE: internal/cmds/lint-txtar/main.go function lintFilenames (line 20) | func lintFilenames(archiveFilename string, archive *txtar.Archive) error { function sortFilesFunc (line 36) | func sortFilesFunc(file1, file2 txtar.File) int { function tidyTxtar (line 42) | func tidyTxtar(archiveFilename string) error { function run (line 64) | func run() error { function main (line 74) | func main() { FILE: internal/cmds/lint-whitespace/main.go function lintData (line 36) | func lintData(filename string, data []byte) error { function lintFile (line 61) | func lintFile(filename string) error { function run (line 69) | func run() error { function main (line 93) | func main() { FILE: internal/cmds/lint-whitespace/main_test.go function TestLintData (line 10) | func TestLintData(t *testing.T) { FILE: main.go function main (line 26) | func main() { FILE: main_test.go function TestMain (line 11) | func TestMain(t *testing.T) {