Skip to content

Commit c7f3e2f

Browse files
committed
Rename file_type method to node_type
1 parent 436f034 commit c7f3e2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

conda_build/build.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ def get_inode_paths(files, target_short_path, prefix):
523523
return sorted(hardlinked_files)
524524

525525

526-
def file_type(path):
526+
def node_type(path):
527527
if islink(path):
528528
return NodeType.softlink
529529
return NodeType.hardlink
@@ -539,7 +539,7 @@ def build_info_files_json(m, prefix, files, files_with_prefix):
539539
"path": get_short_path(m, fi),
540540
"sha256": sha256_checksum(path),
541541
"size_in_bytes": os.path.getsize(path),
542-
"node_type": file_type(path).name,
542+
"node_type": node_type(path).name,
543543
}
544544
no_link = is_no_link(no_link, fi)
545545
if no_link:

0 commit comments

Comments
 (0)