crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
3bbc0e65
ROOT
/
go
/
libraries
/
utils
/
filesys
/
localfs.go
Search
History
325 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
LocalFS
localFS
cwd
:
string
WithWorkingDir
(path string)
:
(Filesys, error)
LocalFilesysWithWorkingDir
(cwd string)
:
(Filesys, error)
errStopMarker
*localFS
Exists
(path string)
:
(exists bool, isDir bool)
Iter
(path string, recursive bool, cb FSIterCB)
:
error
iter
(dir string, cb FSIterCB)
:
error
OpenForRead
(fp string)
:
(io.ReadCloser, error)
ReadFile
(fp string)
:
([]byte, error)
OpenForWrite
(fp string, perm os.FileMode)
:
(io.WriteCloser, error)
OpenForWriteAppend
(fp string, perm os.FileMode)
:
(io.WriteCloser, error)
WriteFile
(fp string, data []byte)
:
error
MkDirs
(path string)
:
error
DeleteFile
(path string)
:
error
Delete
(path string, force bool)
:
error
MoveFile
(srcPath, destPath string)
:
error
Abs
(path string)
:
(string, error)
LastModified
(path string)
:
(t time.Time, exists bool)
TempDir
()
:
string
All occurrences
Please wait...
Page is in error, reload to recover