@@ -18,8 +18,8 @@ const (
1818 Text = "Text"
1919)
2020
21- func (a * App ) Writefile (path string , content string , options IOOptions ) FlagResult {
22- log .Printf ("Writefile [%s]: %s" , options .Mode , path )
21+ func (a * App ) WriteFile (path string , content string , options IOOptions ) FlagResult {
22+ log .Printf ("WriteFile [%s]: %s" , options .Mode , path )
2323
2424 fullPath := GetPath (path )
2525
@@ -49,8 +49,8 @@ func (a *App) Writefile(path string, content string, options IOOptions) FlagResu
4949 return FlagResult {true , "Success" }
5050}
5151
52- func (a * App ) Readfile (path string , options IOOptions ) FlagResult {
53- log .Printf ("Readfile [%s]: %s" , options .Mode , path )
52+ func (a * App ) ReadFile (path string , options IOOptions ) FlagResult {
53+ log .Printf ("ReadFile [%s]: %s" , options .Mode , path )
5454
5555 fullPath := GetPath (path )
5656
@@ -69,8 +69,8 @@ func (a *App) Readfile(path string, options IOOptions) FlagResult {
6969 }
7070}
7171
72- func (a * App ) Movefile (source string , target string ) FlagResult {
73- log .Printf ("Movefile : %s -> %s" , source , target )
72+ func (a * App ) MoveFile (source string , target string ) FlagResult {
73+ log .Printf ("MoveFile : %s -> %s" , source , target )
7474
7575 fullSource := GetPath (source )
7676 fullTarget := GetPath (target )
@@ -86,7 +86,7 @@ func (a *App) Movefile(source string, target string) FlagResult {
8686 return FlagResult {true , "Success" }
8787}
8888
89- func (a * App ) Removefile (path string ) FlagResult {
89+ func (a * App ) RemoveFile (path string ) FlagResult {
9090 log .Printf ("RemoveFile: %s" , path )
9191
9292 fullPath := GetPath (path )
@@ -98,8 +98,8 @@ func (a *App) Removefile(path string) FlagResult {
9898 return FlagResult {true , "Success" }
9999}
100100
101- func (a * App ) Copyfile (src string , dst string ) FlagResult {
102- log .Printf ("Copyfile : %s -> %s" , src , dst )
101+ func (a * App ) CopyFile (src string , dst string ) FlagResult {
102+ log .Printf ("CopyFile : %s -> %s" , src , dst )
103103
104104 srcPath := GetPath (src )
105105 dstPath := GetPath (dst )
@@ -127,8 +127,8 @@ func (a *App) Copyfile(src string, dst string) FlagResult {
127127 return FlagResult {true , "Success" }
128128}
129129
130- func (a * App ) Makedir (path string ) FlagResult {
131- log .Printf ("Makedir : %s" , path )
130+ func (a * App ) MakeDir (path string ) FlagResult {
131+ log .Printf ("MakeDir : %s" , path )
132132
133133 fullPath := GetPath (path )
134134
@@ -139,8 +139,8 @@ func (a *App) Makedir(path string) FlagResult {
139139 return FlagResult {true , "Success" }
140140}
141141
142- func (a * App ) Readdir (path string ) FlagResult {
143- log .Printf ("Readdir : %s" , path )
142+ func (a * App ) ReadDir (path string ) FlagResult {
143+ log .Printf ("ReadDir : %s" , path )
144144
145145 fullPath := GetPath (path )
146146
0 commit comments