[libc][NFC] Move the Linux file implementation to a subdirectory
authorJoseph Huber <jhuber6@vols.utk.edu>
Tue, 30 May 2023 11:49:14 +0000 (06:49 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Tue, 30 May 2023 11:49:21 +0000 (06:49 -0500)
commit1ef0bafc4f6f03805558b900d703292fb957c100
tree4ef3698c2fd8c674871665aae81c8b35dfe2addc
parentb75086210774a05181b8f313ba441ccc920d5d9e
[libc][NFC] Move the Linux file implementation to a subdirectory

This patch simply moves the special handling for `linux` files to a
subdirectory. This is done to make it easier in the future to extend
this support to targets (like the GPU) that will have different
dependencies.

Reviewed By: lntue

Differential Revision: https://reviews.llvm.org/D151231
libc/src/__support/File/CMakeLists.txt
libc/src/__support/File/linux/CMakeLists.txt [new file with mode: 0644]
libc/src/__support/File/linux/dir.cpp [new file with mode: 0644]
libc/src/__support/File/linux/file.cpp [new file with mode: 0644]
libc/src/__support/File/linux_dir.cpp [deleted file]
libc/src/__support/File/linux_file.cpp [deleted file]