Commit 82f18bed authored by Geoff Simmons's avatar Geoff Simmons

Document pem.ModTime().

parent 2cd8413e
......@@ -158,6 +158,9 @@ func (pemfiles *Files) Path(pem *File) string {
return filepath.Join(pemfiles.Base, pem.Basename())
}
// ModTime returns the modification time of PEM files metadata -- the
// time of the most recent Write() or Delete() call that resulted in a
// mutation of the PEM files, or initalization of the metadata.
func (pemfiles *Files) ModTime() time.Time {
pemfiles.mtx.RLock()
defer pemfiles.mtx.RUnlock()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment