mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-07 05:42:42 +00:00
Prepare archive root when editing it
This commit is contained in:
@@ -112,6 +112,12 @@ func NewRemoteRepo(name string, archiveRoot string, distribution string, compone
|
||||
return result, nil
|
||||
}
|
||||
|
||||
// SetArchiveRoot of remote repo
|
||||
func (repo *RemoteRepo) SetArchiveRoot(archiveRoot string) {
|
||||
repo.ArchiveRoot = archiveRoot
|
||||
repo.prepare()
|
||||
}
|
||||
|
||||
func (repo *RemoteRepo) prepare() error {
|
||||
var err error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user