Skip to content

Commit 385b41d

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

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/seclab_taskflow_agent/path_utils.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,13 @@ def mcp_data_dir(packagename: str, mcpname: str, env_override: str | None) -> Pa
3232
p.mkdir(parents=True, exist_ok=True)
3333
return p
3434

35-
def log_dir():
35+
def log_dir() -> str:
36+
"""
37+
Get the directory path for storing log files for the seclab-taskflow-agent.
38+
39+
Returns:
40+
str: The path to the log directory.
41+
"""
3642
return platformdirs.user_log_dir(appname="seclab-taskflow-agent",
3743
appauthor="GitHubSecurityLab",
3844
ensure_exists=True)

0 commit comments

Comments
 (0)