Re: [PATCH 03/13] object-store: move and rename `odb_pack_keep()`
Patrick Steinhardt <ps@pks.im> writes:
> The function `odb_pack_keep()` creates a file at the passed-in path. If
> this fails, then the function re-tries by first creating any potentially
> missing leading directoriesk and then trying to create the file once
s/directoriesk/directories
Show 7 quoted lines
> again. As such, this function doesn't host any kind of logic that is
> specific to the object store, but is rather a generic helper function.
>
> Rename the function to `safe_create_file_with_leading_directories()` and
> move it into "path.c". While at it, refactor it so that it loses its
> dependency on `the_repository`.
>
Rest of the patch looks good.