Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶ added in v0.3.0
type Commit struct { Revision string `xml:"revision,attr"` Author string `xml:"author"` Date time.Time `xml:"date"` }
Commit represents XML output of an `svn list` subcommand
type Entry ¶ added in v0.3.0
type Entry struct { Kind string `xml:"kind,attr"` Name string `xml:"name"` Commit Commit `xml:"commit"` }
ListEntry represents XML output of an `svn list` subcommand
type ListElement ¶ added in v0.3.0
List represents XML output of an `svn list` subcommand
type Repository ¶ added in v0.3.0
type Repository struct {
Location string
}
Repository holds information about a (possibly remote) repository
func NewRepository ¶ added in v0.3.0
func NewRepository(l string) *Repository
NewRepository will initialize the internal structure of a possible remote repository, usually pointing to the parent of the default trunk/ tags/ branches structure.
func (*Repository) Export ¶ added in v0.5.0
Export will execute an `svn export` subcommand. combined output of stdout and stderr will be written to w absolute filenames will be written to notifier channel for each exported file
func (*Repository) FullPath ¶ added in v0.3.0
func (a *Repository) FullPath(relpath string) string
FullPath returns the full path into a repository