Skip to content

Commit b40ab4b

Browse files
Update src/seclab_taskflow_agent/path_utils.py
Co-authored-by: Copilot <[email protected]>
1 parent 385b41d commit b40ab4b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/seclab_taskflow_agent/path_utils.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,14 @@ def log_dir() -> str:
4343
appauthor="GitHubSecurityLab",
4444
ensure_exists=True)
4545

46-
def log_file_name(filename: str):
46+
def log_file_name(filename: str) -> str:
47+
"""
48+
Construct the full path to a log file in the user log directory.
49+
50+
Parameters:
51+
filename (str): The name of the log file.
52+
53+
Returns:
54+
str: The full path to the log file in the user log directory.
55+
"""
4756
return os.path.join(log_dir(), filename)

0 commit comments

Comments
 (0)