We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ad48b8 commit b83ae86Copy full SHA for b83ae86
src/hipscat/io/file_io/file_pointer.py
@@ -37,7 +37,7 @@ def does_file_or_directory_exist(pointer: FilePointer) -> bool:
37
38
39
def is_regular_file(pointer: FilePointer) -> bool:
40
- """Checks if a file or directory exists for a given file pointer
+ """Checks if a regular file (NOT a directory) exists for a given file pointer.
41
42
Args:
43
pointer: File Pointer to check if a regular file
@@ -57,7 +57,7 @@ def find_files_matching_path(*paths: str) -> List[FilePointer]:
57
Returns:
58
New file pointers to files found matching the path
59
"""
60
- matcher = os.path.join(*paths)
+ matcher = append_paths_to_pointer(*paths)
61
return [get_file_pointer_from_path(x) for x in glob.glob(matcher)]
62
63
0 commit comments