Answer the question
In order to leave comments, you need to log in
How are files moved between directories at the physical level?
In general, the C++ STL Filesystem simply does not have a function to move files between directories, such as fs::move()
. And this, in general, is not a problem, because you can copy and delete. But the point is that I always thought that at the OS level, the movement is not physical, but simply the pointer changes (label, record ... I don’t know how to do it right). Is this just STL cant, or is relocation really achieved by copying and deleting?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question