MCPcopy
hub / github.com/chrislusf/glow / dir

Method dir

netchan/store/rotating_file_store.go:401–403  ·  view source on GitHub ↗

dir returns the directory for the current filename.

()

Source from the content-addressed store, hash-verified

399
400// dir returns the directory for the current filename.
401func (l *RotatingFileStore) dir() string {
402 return filepath.Dir(l.filename())
403}
404
405// prefixAndExt returns the filename part and extension part from the RotatingFileStore's
406// filename.

Callers 3

openNewMethod · 0.95
cleanupMethod · 0.95
listOldLogFilesMethod · 0.95

Calls 1

filenameMethod · 0.95

Tested by

no test coverage detected