Documentation
¶
Index ¶
- Constants
- func AddDirToGitignore(dir string) error
- func CopyFile(sourceFilePath, targetFilePath string) error
- func DeleteFile(filePath string) error
- func EnsureDirectoryExists(dirName string) error
- func GetCommitFilePath(fileName, fileExtension string) (string, error)
- func GetScopeFilePath(scope string) (string, error)
- func GetScopeSelectorFilePath() (string, error)
- func Init() error
- func IsBinaryFile(content []byte) bool
- func OpenFile(filePath, editor string) error
Constants ¶
View Source
const CODERUNNER_DIR = ".coderunner"
Variables ¶
This section is empty.
Functions ¶
func AddDirToGitignore ¶ added in v0.1.3
func DeleteFile ¶
func EnsureDirectoryExists ¶
func GetCommitFilePath ¶
func GetScopeFilePath ¶
func GetScopeSelectorFilePath ¶ added in v0.2.0
func IsBinaryFile ¶
IsBinaryFile uses Git's approach to detect binary files It looks for null bytes in the first 8000 bytes of the file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.