Documentation
¶
Index ¶
- type Svn
- func (svn *Svn) Add(targetPaths []string, flags []string) error
- func (svn *Svn) CheckIn(targetPaths []string, message string, flags []string) error
- func (svn *Svn) CheckOut(sourceUrl string, targetPath string, revision string, flags []string) error
- func (svn *Svn) Cleanup(targetPaths []string, flags []string) error
- func (svn *Svn) Copy(sourceUrl string, targetUrl string, message string, flags []string) error
- func (svn *Svn) Export(sourceUrl string, targetPath string, revision string, flags []string) error
- func (svn *Svn) HardReset(targetPaths []string, deleteExternal bool) error
- func (svn *Svn) Import(targetUrl string, sourcePath string, message string, flags []string) error
- func (svn *Svn) Info(sourceUrl string, flags []string) (SvnInfo, error)
- func (svn *Svn) List(sourceUrl string, flags []string) ([]string, error)
- func (svn *Svn) Log(sourceUrl string, flags []string) (SvnLog, error)
- func (svn *Svn) MakeDir(targetUrl string, message string, flags []string) error
- func (svn *Svn) Revert(targetPaths []string, flags []string) error
- func (svn *Svn) Status(targetPath string, flags []string) (SvnStatus, error)
- type SvnInfo
- type SvnInfoEntry
- type SvnInfoEntryCommit
- type SvnInfoEntryRepo
- type SvnLog
- type SvnLogEntry
- type SvnLogPath
- type SvnStatus
- type SvnStatusEntry
- type SvnStatusTarget
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Svn ¶
type Svn struct{}
type SvnInfo ¶
type SvnInfo struct {
XMLName xml.Name `xml:"info"`
Entry struct {
Revision string `xml:"revision,attr"`
Path string `xml:"path,attr"`
Kind string `xml:"kind,attr"`
URL string `xml:"url"`
RelativeURL string `xml:"relative-url"`
Repository SvnInfoEntryRepo `xml:"repository"`
Commit SvnInfoEntryCommit `xml:"commit"`
} `xml:"entry"`
}
type SvnInfoEntry ¶
type SvnInfoEntry struct {
Revision string `xml:"revision,attr"`
Path string `xml:"path,attr"`
Kind string `xml:"kind,attr"`
URL string `xml:"url"`
RelativeURL string `xml:"relative-url"`
Repository SvnInfoEntryRepo `xml:"repository"`
Commit SvnInfoEntryCommit `xml:"commit"`
}
type SvnInfoEntryCommit ¶
type SvnInfoEntryRepo ¶
type SvnLog ¶
type SvnLog struct {
XMLName xml.Name `xml:"log"`
LogEntries []SvnLogEntry `xml:"logentry"`
}
type SvnLogEntry ¶
type SvnLogEntry struct {
Revision string `xml:"revision,attr"`
Author string `xml:"author"`
Date string `xml:"date"`
Message string `xml:"msg"`
Paths []SvnLogPath `xml:"paths>path"`
}
type SvnLogPath ¶
type SvnStatus ¶
type SvnStatus struct {
XMLName xml.Name `xml:"status"`
Target SvnStatusTarget `xml:"target"`
}
type SvnStatusEntry ¶
type SvnStatusTarget ¶
type SvnStatusTarget struct {
Path string `xml:"path,attr"`
Entries []SvnStatusEntry `xml:"entry"`
}
Click to show internal directories.
Click to hide internal directories.