Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileHook ¶
GetFileHook gets fileHook by lang name
func RegisterFileHook ¶
RegisterFileHook register fileHook factory
Types ¶
type GolangFileHook ¶
type GolangFileHook struct{}
GolangFileHook filehook for Golang
func (*GolangFileHook) OnFileClosed ¶
func (golang *GolangFileHook) OnFileClosed(path string) error
OnFileClosed when file is closed
func (*GolangFileHook) OnFileClosing ¶
func (golang *GolangFileHook) OnFileClosing(f *os.File) error
OnFileClosing when file is closing
func (*GolangFileHook) OnFileCreated ¶
func (golang *GolangFileHook) OnFileCreated(f *os.File) error
OnFileCreated when file first created in filesystem (not exist previously)
func (*GolangFileHook) OnFileOpened ¶
func (golang *GolangFileHook) OnFileOpened(f *os.File) error
OnFileOpened when file first opened in program
type TypescriptFileHook ¶
type TypescriptFileHook struct {
// contains filtered or unexported fields
}
TypescriptFileHook filehook for ts
func (*TypescriptFileHook) OnFileClosed ¶
func (ts *TypescriptFileHook) OnFileClosed(path string) error
OnFileClosed when file is closed
func (*TypescriptFileHook) OnFileClosing ¶
func (ts *TypescriptFileHook) OnFileClosing(f *os.File) error
OnFileClosing when file is closing
func (*TypescriptFileHook) OnFileCreated ¶
func (ts *TypescriptFileHook) OnFileCreated(f *os.File) error
OnFileCreated when file first created in filesystem (not exist previously)
func (*TypescriptFileHook) OnFileOpened ¶
func (ts *TypescriptFileHook) OnFileOpened(f *os.File) error
OnFileOpened when file first opened in program
Click to show internal directories.
Click to hide internal directories.