Lines Matching refs:filesystem
97 std::string getPartNumber(const std::filesystem::path& sysfsPath) in getPartNumber()
103 std::filesystem::path namePath(sysfsPath); in getPartNumber()
122 std::string getSerialNumber(const std::filesystem::path& sysfsPath) in getSerialNumber()
128 std::filesystem::path serialPath(sysfsPath); in getSerialNumber()
148 const std::filesystem::path& searchDir) in findDevice()
228 for (const auto& dirEntry : std::filesystem::directory_iterator{searchDir}) in findDevice()
234 std::filesystem::path curPath(dirEntry.path()); in findDevice()
236 if (!std::filesystem::exists(curPath)) in findDevice()
250 std::filesystem::path deviceName(dirEntry.path().filename()); in findDevice()
252 std::filesystem::path sysfsDir = dirEntry.path(); in findDevice()
255 std::filesystem::path deviceFile = "/dev"; in findDevice()