BigFile: Factor out "get .data mtime" into helper
Since .data can be BTreeData or None (or as we'll see next and str),
._p_mtime() is not always defined on it and in several places current
code has branches from where to get it.
Move this logic out to a separate helper and the code which needs to
know mtime gets streamlined.
Suggested-by: Vincent Pelletier <vincent@nexedi.com>
Showing
Please register or sign in to comment