Documentation
¶
Index ¶
- func ConfigAddTouch(peer blobcache.PeerID) func(cfg gotrepo.Config) gotrepo.Config
- type Site
- func (s *Site) Add(ps ...string)
- func (s *Site) AllPaths() iter.Seq[string]
- func (site *Site) AssertFSEquals(m map[string]string)
- func (s *Site) AssertFileString(p, expectData string)
- func (s *Site) AssertNotExist(p string)
- func (s *Site) Cat(b gotrepo.FQM, p string) []byte
- func (s *Site) Checkout(name string)
- func (s *Site) Clone() Site
- func (s *Site) Commit(cp gotwc.CommitParams)
- func (s *Site) ConfigureRepo(fn func(gotrepo.Config) gotrepo.Config)
- func (s *Site) CreateFile(p string, data []byte)
- func (s *Site) CreateMark(fqname gotrepo.FQM)
- func (s *Site) DeleteFile(ps ...string)
- func (s *Site) Fetch()
- func (s *Site) Fork(newName string)
- func (s *Site) GetHead() string
- func (s *Site) GetIdentity(name string) gotorg.IdentityUnit
- func (s *Site) IntroduceSelf() gotorg.ChangeSet
- func (s *Site) ListMarks(space string) (ret []string)
- func (s *Site) Ls(b gotrepo.FQM, p string) (ret []string)
- func (s *Site) OrgClient() gotorg.Client
- func (s *Site) Put(ps ...string)
- func (s *Site) SetHead(name string)
- func (s *Site) Sync(src, dst gotrepo.FQM)
- func (s *Site) WriteFSMap(x map[string]string)
- func (s *Site) WriteString(p string, val string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Site ¶
type Site struct {
Root *os.Root
Repo *gotrepo.Repo
WC *gotwc.WC
// contains filtered or unexported fields
}
Site is a gotrepo and working copy
func (*Site) AssertFSEquals ¶
func (*Site) AssertFileString ¶
func (*Site) AssertNotExist ¶
func (*Site) Commit ¶
func (s *Site) Commit(cp gotwc.CommitParams)
func (*Site) CreateFile ¶
func (*Site) CreateMark ¶
func (*Site) DeleteFile ¶
func (*Site) GetIdentity ¶
func (s *Site) GetIdentity(name string) gotorg.IdentityUnit
func (*Site) IntroduceSelf ¶
func (*Site) WriteFSMap ¶
func (*Site) WriteString ¶
Click to show internal directories.
Click to hide internal directories.