| 787 | } |
| 788 | |
| 789 | bool FileUtils::isFileExist(const ccstd::string &filename) const { |
| 790 | if (isAbsolutePath(filename)) { |
| 791 | return isFileExistInternal(normalizePath(filename)); |
| 792 | } |
| 793 | ccstd::string fullpath = fullPathForFilename(filename); |
| 794 | return !fullpath.empty(); |
| 795 | } |
| 796 | |
| 797 | bool FileUtils::isAbsolutePath(const ccstd::string &path) const { |
| 798 | return (path[0] == '/'); |
no test coverage detected