MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / timestamp

Function timestamp

nix/build-all.py:482–483  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

480 """
481
482 def timestamp() -> str:
483 return datetime.now().strftime("%Y-%m-%d %H:%M:%S,%f")[:-3] # same format as logging
484
485 def stream_reader(pipe, collector: "list[str]", log_file) -> None:
486 for line in iter(pipe.readline, ""):

Callers 1

stream_readerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected