7xGit / 7xGit/7xGit_Task4

get_desktop_path() does not return correct Desktop path

未关闭 适合新手
#5 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug good first issue
主要语言
Python
星标
1
派生
3
PR 合并指标
30 天内没有已合并 PR

描述

Description:
The function responsible for retrieving the Desktop path doesn't return the expected location on most systems, especially across different operating systems. As a result, any file or folder creation fails silently or ends up in the wrong location.

_Hint: Check if the function dynamically resolves the user’s actual home directory and appends 'Desktop'._

贡献指南

这个仓库没有索引到贡献指南

调研方向

Find the get_desktop_path() function in the codebase. Examine how it constructs the path, likely using os.path.join. Research platform-specific ways to get the user's home directory (e.g., os.path.expanduser('~') or pathlib.Path.home()) and the correct Desktop folder name (e.g., 'Desktop' on macOS/Linux, 'Desktop' on Windows). Write a test to verify the function returns the correct path on your system.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
cli
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。