summaryrefslogtreecommitdiffstats
path: root/contrib/persistent-https/proxy.go
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-01-11 11:06:43 +0100
committerJunio C Hamano <gitster@pobox.com>2024-01-11 12:10:59 -0800
commitc5b5d5fbbc43364a3d3c0aedf9e984a0ffe04537 (patch)
treea55aaae4e5ab4f463b6ca3c95f4fbc1a7248f0dd /contrib/persistent-https/proxy.go
parent3c94bd8dfb43d1e6f38184e34f4d5a0046dd00d7 (diff)
downloadgit-c5b5d5fbbc43364a3d3c0aedf9e984a0ffe04537.tar.gz
git-c5b5d5fbbc43364a3d3c0aedf9e984a0ffe04537.zip
reftable/stack: refactor reloading to use file descriptor
We're about to introduce a stat(3P)-based caching mechanism to reload the list of stacks only when it has changed. In order to avoid race conditions this requires us to have a file descriptor available that we can use to call fstat(3P) on. Prepare for this by converting the code to use `fd_read_lines()` so that we have the file descriptor readily available. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https/proxy.go')
0 files changed, 0 insertions, 0 deletions