[PATCH] D54455: [vfs] add 'Status::copyWithNewSize'

Ilya Biryukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 13 03:43:28 PST 2018


ilya-biryukov added a comment.

Sorry for joining in the middle of the conversation without the full context, but what is the use-case for status that were created with the wrong size that needs to be patched up?
It's clear what the function is doing operationally, but it's hard to see why would we want to change the size of the file, while leaving other things (like modification time, etc.) the same?


Repository:
  rL LLVM

https://reviews.llvm.org/D54455





More information about the llvm-commits mailing list