equal
deleted
inserted
replaced
2183 checkosfilename = platform.checkosfilename # pytype: disable=module-attr |
2183 checkosfilename = platform.checkosfilename # pytype: disable=module-attr |
2184 if not timer: |
2184 if not timer: |
2185 timer = time.time |
2185 timer = time.time |
2186 |
2186 |
2187 |
2187 |
2188 def makelock(info, pathname): |
2188 def makelock(info: bytes, pathname: bytes) -> None: |
2189 """Create a lock file atomically if possible |
2189 """Create a lock file atomically if possible |
2190 |
2190 |
2191 This may leave a stale lock file if symlink isn't supported and signal |
2191 This may leave a stale lock file if symlink isn't supported and signal |
2192 interrupt is enabled. |
2192 interrupt is enabled. |
2193 """ |
2193 """ |