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
9becfc9d
ROOT
/
go
/
libraries
/
utils
/
filesys
/
fs.go
Search
History
144 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
ErrIsDir
ErrIsFile
ErrDirNotExist
ReadableFS
OpenForRead
(fp string)
:
(io.ReadCloser, error)
ReadFile
(fp string)
:
([]byte, error)
Exists
(path string)
:
(exists bool, isDir bool)
Abs
(path string)
:
(string, error)
LastModified
(path string)
:
(t time.Time, exists bool)
WritableFS
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
TempDir
()
:
string
FSIterCB
WalkableFS
Iter
(directory string, recursive bool, cb FSIterCB)
:
error
ReadWriteFS
ReadableFS
WritableFS
Filesys
ReadableFS
WritableFS
WalkableFS
WithWorkingDir
(path string)
:
(Filesys, error)
UnmarshalJSONFile
(fs ReadableFS, path string, dest interface{})
:
error
CopyFile
(srcPath, destPath string, srcFS, destFS Filesys)
:
(err error)
All occurrences
Please wait...
Page is in error, reload to recover