We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a54aac7 commit 38dfb4bCopy full SHA for 38dfb4b
jupyter_server_fileid/__init__.py
@@ -1,4 +1,5 @@
1
"""A Jupyter Server extension providing an implementation of the File ID service."""
2
+
3
from .extension import FileIdExtension
4
5
__version__ = "0.9.1"
jupyter_server_fileid/manager.py
@@ -642,9 +642,7 @@ def _parse_raw_stat(self, raw_stat):
642
raw_stat.st_ctime_ns
643
if os.name == "nt"
644
# st_birthtime_ns is not supported, so we have to compute it manually
645
- else int(raw_stat.st_birthtime * 1e9)
646
- if hasattr(raw_stat, "st_birthtime")
647
- else None
+ else int(raw_stat.st_birthtime * 1e9) if hasattr(raw_stat, "st_birthtime") else None
648
)
649
stat_info.mtime = raw_stat.st_mtime_ns
650
stat_info.is_dir = stat.S_ISDIR(raw_stat.st_mode)
0 commit comments