Documentation
¶
Index ¶
- type PlatformDirsABC
- type PlatformDirsABCImpl
- func (p *PlatformDirsABCImpl) Appauthor() any
- func (p *PlatformDirsABCImpl) Appname() (string, bool)
- func (p *PlatformDirsABCImpl) EnsureExists() bool
- func (p *PlatformDirsABCImpl) IterCacheDirs() iter.Seq[string]
- func (p *PlatformDirsABCImpl) IterCachePaths() iter.Seq[string]
- func (p *PlatformDirsABCImpl) IterConfigDirs() iter.Seq[string]
- func (p *PlatformDirsABCImpl) IterConfigPaths() iter.Seq[string]
- func (p *PlatformDirsABCImpl) IterDataDirs() iter.Seq[string]
- func (p *PlatformDirsABCImpl) IterDataPaths() iter.Seq[string]
- func (p *PlatformDirsABCImpl) IterRuntimeDirs() iter.Seq[string]
- func (p *PlatformDirsABCImpl) IterRuntimePaths() iter.Seq[string]
- func (p *PlatformDirsABCImpl) Multipath() bool
- func (p *PlatformDirsABCImpl) Opinion() bool
- func (p *PlatformDirsABCImpl) Roaming() bool
- func (p *PlatformDirsABCImpl) SetAppauthor(v any)
- func (p *PlatformDirsABCImpl) SetAppname(v *string)
- func (p *PlatformDirsABCImpl) SetEnsureExists(v bool)
- func (p *PlatformDirsABCImpl) SetMultipath(v bool)
- func (p *PlatformDirsABCImpl) SetOpinion(v bool)
- func (p *PlatformDirsABCImpl) SetRoaming(v bool)
- func (p *PlatformDirsABCImpl) SetVersion(v *string)
- func (p *PlatformDirsABCImpl) SiteCacheDir() string
- func (p *PlatformDirsABCImpl) SiteCachePath() string
- func (p *PlatformDirsABCImpl) SiteConfigDir() string
- func (p *PlatformDirsABCImpl) SiteConfigPath() string
- func (p *PlatformDirsABCImpl) SiteDataDir() string
- func (p *PlatformDirsABCImpl) SiteDataPath() string
- func (p *PlatformDirsABCImpl) SiteRuntimeDir() string
- func (p *PlatformDirsABCImpl) SiteRuntimePath() string
- func (p *PlatformDirsABCImpl) UserCacheDir() string
- func (p *PlatformDirsABCImpl) UserCachePath() string
- func (p *PlatformDirsABCImpl) UserConfigDir() string
- func (p *PlatformDirsABCImpl) UserConfigPath() string
- func (p *PlatformDirsABCImpl) UserDataDir() string
- func (p *PlatformDirsABCImpl) UserDataPath() string
- func (p *PlatformDirsABCImpl) UserDesktopDir() string
- func (p *PlatformDirsABCImpl) UserDesktopPath() string
- func (p *PlatformDirsABCImpl) UserDocumentsDir() string
- func (p *PlatformDirsABCImpl) UserDocumentsPath() string
- func (p *PlatformDirsABCImpl) UserDownloadsDir() string
- func (p *PlatformDirsABCImpl) UserDownloadsPath() string
- func (p *PlatformDirsABCImpl) UserLogDir() string
- func (p *PlatformDirsABCImpl) UserLogPath() string
- func (p *PlatformDirsABCImpl) UserMusicDir() string
- func (p *PlatformDirsABCImpl) UserMusicPath() string
- func (p *PlatformDirsABCImpl) UserPicturesDir() string
- func (p *PlatformDirsABCImpl) UserPicturesPath() string
- func (p *PlatformDirsABCImpl) UserRuntimeDir() string
- func (p *PlatformDirsABCImpl) UserRuntimePath() string
- func (p *PlatformDirsABCImpl) UserStateDir() string
- func (p *PlatformDirsABCImpl) UserStatePath() string
- func (p *PlatformDirsABCImpl) UserVideosDir() string
- func (p *PlatformDirsABCImpl) UserVideosPath() string
- func (p *PlatformDirsABCImpl) Version() (string, bool)
- func (p *PlatformDirsABCImpl) X__AppendAppNameAndVersion(base ...string) string
- func (p *PlatformDirsABCImpl) X__FirstItemAsPathIfMultipath(directory string) string
- func (p *PlatformDirsABCImpl) X__OptionallyCreateDirectory(path string)
- func (p *PlatformDirsABCImpl) X__SiteConfigDirs() []string
- func (p *PlatformDirsABCImpl) X__SiteDataDirs() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlatformDirsABC ¶
type PlatformDirsABC interface { Appname() (string, bool) SetAppname(v *string) Version() (string, bool) SetVersion(v *string) Roaming() bool SetRoaming(v bool) Multipath() bool SetMultipath(v bool) Opinion() bool SetOpinion(v bool) EnsureExists() bool SetEnsureExists(v bool) X__AppendAppNameAndVersion(base ...string) string X__OptionallyCreateDirectory(path string) X__FirstItemAsPathIfMultipath(directory string) string UserDataDir() string SiteDataDir() string UserConfigDir() string SiteConfigDir() string UserCacheDir() string SiteCacheDir() string UserStateDir() string UserLogDir() string UserDocumentsDir() string UserDownloadsDir() string UserPicturesDir() string UserVideosDir() string UserMusicDir() string UserDesktopDir() string UserRuntimeDir() string SiteRuntimeDir() string UserDataPath() string SiteDataPath() string UserConfigPath() string SiteConfigPath() string UserCachePath() string SiteCachePath() string UserStatePath() string UserLogPath() string UserDocumentsPath() string UserDownloadsPath() string UserPicturesPath() string UserVideosPath() string UserMusicPath() string UserDesktopPath() string UserRuntimePath() string SiteRuntimePath() string IterConfigDirs() iter.Seq[string] IterDataDirs() iter.Seq[string] IterCacheDirs() iter.Seq[string] IterRuntimeDirs() iter.Seq[string] IterConfigPaths() iter.Seq[string] IterDataPaths() iter.Seq[string] IterCachePaths() iter.Seq[string] IterRuntimePaths() iter.Seq[string] }
type PlatformDirsABCImpl ¶
type PlatformDirsABCImpl struct { X__This PlatformDirsABC // contains filtered or unexported fields }
func NewPlatformDirsABC ¶
func (*PlatformDirsABCImpl) Appauthor ¶
func (p *PlatformDirsABCImpl) Appauthor() any
func (*PlatformDirsABCImpl) Appname ¶
func (p *PlatformDirsABCImpl) Appname() (string, bool)
func (*PlatformDirsABCImpl) EnsureExists ¶
func (p *PlatformDirsABCImpl) EnsureExists() bool
func (*PlatformDirsABCImpl) IterCacheDirs ¶
func (p *PlatformDirsABCImpl) IterCacheDirs() iter.Seq[string]
func (*PlatformDirsABCImpl) IterCachePaths ¶
func (p *PlatformDirsABCImpl) IterCachePaths() iter.Seq[string]
func (*PlatformDirsABCImpl) IterConfigDirs ¶
func (p *PlatformDirsABCImpl) IterConfigDirs() iter.Seq[string]
func (*PlatformDirsABCImpl) IterConfigPaths ¶
func (p *PlatformDirsABCImpl) IterConfigPaths() iter.Seq[string]
func (*PlatformDirsABCImpl) IterDataDirs ¶
func (p *PlatformDirsABCImpl) IterDataDirs() iter.Seq[string]
func (*PlatformDirsABCImpl) IterDataPaths ¶
func (p *PlatformDirsABCImpl) IterDataPaths() iter.Seq[string]
func (*PlatformDirsABCImpl) IterRuntimeDirs ¶
func (p *PlatformDirsABCImpl) IterRuntimeDirs() iter.Seq[string]
func (*PlatformDirsABCImpl) IterRuntimePaths ¶
func (p *PlatformDirsABCImpl) IterRuntimePaths() iter.Seq[string]
func (*PlatformDirsABCImpl) Multipath ¶
func (p *PlatformDirsABCImpl) Multipath() bool
func (*PlatformDirsABCImpl) Opinion ¶
func (p *PlatformDirsABCImpl) Opinion() bool
func (*PlatformDirsABCImpl) Roaming ¶
func (p *PlatformDirsABCImpl) Roaming() bool
func (*PlatformDirsABCImpl) SetAppauthor ¶
func (p *PlatformDirsABCImpl) SetAppauthor(v any)
func (*PlatformDirsABCImpl) SetAppname ¶
func (p *PlatformDirsABCImpl) SetAppname(v *string)
func (*PlatformDirsABCImpl) SetEnsureExists ¶
func (p *PlatformDirsABCImpl) SetEnsureExists(v bool)
func (*PlatformDirsABCImpl) SetMultipath ¶
func (p *PlatformDirsABCImpl) SetMultipath(v bool)
func (*PlatformDirsABCImpl) SetOpinion ¶
func (p *PlatformDirsABCImpl) SetOpinion(v bool)
func (*PlatformDirsABCImpl) SetRoaming ¶
func (p *PlatformDirsABCImpl) SetRoaming(v bool)
func (*PlatformDirsABCImpl) SetVersion ¶
func (p *PlatformDirsABCImpl) SetVersion(v *string)
func (*PlatformDirsABCImpl) SiteCacheDir ¶
func (p *PlatformDirsABCImpl) SiteCacheDir() string
func (*PlatformDirsABCImpl) SiteCachePath ¶
func (p *PlatformDirsABCImpl) SiteCachePath() string
func (*PlatformDirsABCImpl) SiteConfigDir ¶
func (p *PlatformDirsABCImpl) SiteConfigDir() string
func (*PlatformDirsABCImpl) SiteConfigPath ¶
func (p *PlatformDirsABCImpl) SiteConfigPath() string
func (*PlatformDirsABCImpl) SiteDataDir ¶
func (p *PlatformDirsABCImpl) SiteDataDir() string
func (*PlatformDirsABCImpl) SiteDataPath ¶
func (p *PlatformDirsABCImpl) SiteDataPath() string
func (*PlatformDirsABCImpl) SiteRuntimeDir ¶
func (p *PlatformDirsABCImpl) SiteRuntimeDir() string
func (*PlatformDirsABCImpl) SiteRuntimePath ¶
func (p *PlatformDirsABCImpl) SiteRuntimePath() string
func (*PlatformDirsABCImpl) UserCacheDir ¶
func (p *PlatformDirsABCImpl) UserCacheDir() string
func (*PlatformDirsABCImpl) UserCachePath ¶
func (p *PlatformDirsABCImpl) UserCachePath() string
func (*PlatformDirsABCImpl) UserConfigDir ¶
func (p *PlatformDirsABCImpl) UserConfigDir() string
func (*PlatformDirsABCImpl) UserConfigPath ¶
func (p *PlatformDirsABCImpl) UserConfigPath() string
func (*PlatformDirsABCImpl) UserDataDir ¶
func (p *PlatformDirsABCImpl) UserDataDir() string
func (*PlatformDirsABCImpl) UserDataPath ¶
func (p *PlatformDirsABCImpl) UserDataPath() string
func (*PlatformDirsABCImpl) UserDesktopDir ¶
func (p *PlatformDirsABCImpl) UserDesktopDir() string
func (*PlatformDirsABCImpl) UserDesktopPath ¶
func (p *PlatformDirsABCImpl) UserDesktopPath() string
func (*PlatformDirsABCImpl) UserDocumentsDir ¶
func (p *PlatformDirsABCImpl) UserDocumentsDir() string
func (*PlatformDirsABCImpl) UserDocumentsPath ¶
func (p *PlatformDirsABCImpl) UserDocumentsPath() string
func (*PlatformDirsABCImpl) UserDownloadsDir ¶
func (p *PlatformDirsABCImpl) UserDownloadsDir() string
func (*PlatformDirsABCImpl) UserDownloadsPath ¶
func (p *PlatformDirsABCImpl) UserDownloadsPath() string
func (*PlatformDirsABCImpl) UserLogDir ¶
func (p *PlatformDirsABCImpl) UserLogDir() string
func (*PlatformDirsABCImpl) UserLogPath ¶
func (p *PlatformDirsABCImpl) UserLogPath() string
func (*PlatformDirsABCImpl) UserMusicDir ¶
func (p *PlatformDirsABCImpl) UserMusicDir() string
func (*PlatformDirsABCImpl) UserMusicPath ¶
func (p *PlatformDirsABCImpl) UserMusicPath() string
func (*PlatformDirsABCImpl) UserPicturesDir ¶
func (p *PlatformDirsABCImpl) UserPicturesDir() string
func (*PlatformDirsABCImpl) UserPicturesPath ¶
func (p *PlatformDirsABCImpl) UserPicturesPath() string
func (*PlatformDirsABCImpl) UserRuntimeDir ¶
func (p *PlatformDirsABCImpl) UserRuntimeDir() string
func (*PlatformDirsABCImpl) UserRuntimePath ¶
func (p *PlatformDirsABCImpl) UserRuntimePath() string
func (*PlatformDirsABCImpl) UserStateDir ¶
func (p *PlatformDirsABCImpl) UserStateDir() string
func (*PlatformDirsABCImpl) UserStatePath ¶
func (p *PlatformDirsABCImpl) UserStatePath() string
func (*PlatformDirsABCImpl) UserVideosDir ¶
func (p *PlatformDirsABCImpl) UserVideosDir() string
func (*PlatformDirsABCImpl) UserVideosPath ¶
func (p *PlatformDirsABCImpl) UserVideosPath() string
func (*PlatformDirsABCImpl) Version ¶
func (p *PlatformDirsABCImpl) Version() (string, bool)
func (*PlatformDirsABCImpl) X__AppendAppNameAndVersion ¶
func (p *PlatformDirsABCImpl) X__AppendAppNameAndVersion(base ...string) string
func (*PlatformDirsABCImpl) X__FirstItemAsPathIfMultipath ¶
func (p *PlatformDirsABCImpl) X__FirstItemAsPathIfMultipath(directory string) string
func (*PlatformDirsABCImpl) X__OptionallyCreateDirectory ¶
func (p *PlatformDirsABCImpl) X__OptionallyCreateDirectory(path string)
func (*PlatformDirsABCImpl) X__SiteConfigDirs ¶
func (p *PlatformDirsABCImpl) X__SiteConfigDirs() []string
func (*PlatformDirsABCImpl) X__SiteDataDirs ¶
func (p *PlatformDirsABCImpl) X__SiteDataDirs() []string
For compatibility with the "Unix" exported type. This is a hack.
Click to show internal directories.
Click to hide internal directories.