Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Workspace ¶
type Workspace interface { CreateBranch(branch string) error UpdateFile(fileRelPath string, content []byte) error CommitFiles(branch, message string, fileRelPaths []string) error GitPush(branch string) error Clear() error }
Workspace は git のレポジトリを clone したディレクトリ。clone したファイルの作業場となる Workspace への操作はすべて interface を通じて行わなければならない
func NewWorkspace ¶
Click to show internal directories.
Click to hide internal directories.