Skip to content

Commit

Permalink
local: info: provide st_ino and st_nlink (#1053)
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop committed Sep 27, 2022
1 parent 5589dde commit a05c896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fsspec/implementations/local.py
Expand Up @@ -97,7 +97,7 @@ def info(self, path, **kwargs):
"created": out.st_ctime,
"islink": link,
}
for field in ["mode", "uid", "gid", "mtime"]:
for field in ["mode", "uid", "gid", "mtime", "ino", "nlink"]:
result[field] = getattr(out, "st_" + field)
if result["islink"]:
result["destination"] = os.readlink(path)
Expand Down

0 comments on commit a05c896

Please sign in to comment.