diff options
author | Florian Klink <flokli@flokli.de> | 2023-11-07T10·39+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-11-07T14·52+0000 |
commit | a778b855d21f5b33396a8a3e4fef724bd84fb956 (patch) | |
tree | a5c4c5b88edd8e56ae82e761b860b5bd34d4a307 /users/lukegb/hgext | |
parent | 3ae48465faf3acd52dd15908e8d3321e75fb9d8a (diff) |
refactor(tvix/store/fs): simplify name_in_root_to_ino_and_data r/6977
Have it return libc::ENOENT errors rather than an Option<…>. Also avoid having to traverse inode_data multiple times, by synthesizing the Arc<…> on our own in the insert case. In that case, the data is quite small, so cloning it is faster than traversing a second time. Change-Id: I7ab14bac8bb23859ed8d166a12070d4f4749b6d4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9981 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'users/lukegb/hgext')
0 files changed, 0 insertions, 0 deletions