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
/
events
/
file_backed_proc.go
Search
History
238 lines
|
ISO-8859-1
|
6 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
eventsDir
localPath
evtDataExt
doltLockFile
fileNamingFunc
fileCheckingFunc
MD5Str
(bytes []byte)
:
string
MD5StrUrl
(bytes []byte)
:
string
MD5FileNamer
(bytes []byte)
:
string
CheckFilenameMD5
(data []byte, path string)
:
(bool, error)
errEventsDirNotExists
eventsDataDir
fs
:
filesys.Filesys
path
:
string
newEventsDataDir
(fs filesys.Filesys, homeDir string, doltDir string)
:
*eventsDataDir
FileBackedProc
ed
:
*eventsDataDir
namingFunc
:
fileNamingFunc
CheckingFunc
:
fileCheckingFunc
LockPath
:
string
NewFileBackedProc
(fs filesys.Filesys, userHomeDir string, doltDir string, nf fileNamingFunc, cf fileCheckingFunc)
:
*FileBackedProc
*eventsDataDir
MakeEventsDir
()
:
error
getPath
()
:
string
*FileBackedProc
renameFile
(dir string, oldName string)
:
error
EventsDirExists
()
:
bool
GetEventsDirPath
()
:
string
GetFileSys
()
:
filesys.Filesys
WriteEvents
(version string, evts []*eventsapi.ClientEvent)
:
error
All occurrences
Please wait...
Page is in error, reload to recover