Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增加文件内容查找方法 #4

Open
2018-11-27 opened this issue Apr 29, 2023 · 1 comment
Open

增加文件内容查找方法 #4

2018-11-27 opened this issue Apr 29, 2023 · 1 comment
Assignees
Labels
good first issue Good for newcomers

Comments

@2018-11-27
Copy link
Member

例如增加一个名为 Content.find 的方法,可查找文件中的内容。

@2018-11-27 2018-11-27 added the good first issue Good for newcomers label Apr 29, 2023
@2018-11-27 2018-11-27 self-assigned this Apr 29, 2023
2018-11-27 added a commit to 2018-11-27/systempath that referenced this issue Oct 15, 2023
1.Optimize `MasqueradeClass` and fix known problems.
2.Refactor the `tree` function, now the code is more decoupled.
3.`tree` function parameter naming adjustment: `downtop` -> `bottom_up`, `mysophobia` -> `pure_path`.
4.`tree` function parameter `level` default value adjustment: maximum recursion depth -> maximum directory depth.
5.Supports checking whether a file contains subcontent, The method is located in `Content.contains`. gqylpy#4
6.Adjust some parameter comments, all `Generator` is replaced with `Iterator`.

1.优化 `MasqueradeClass`,并修复已知的问题。
2.重构 `tree` 函数,现在的代码更解耦。
3.`tree` 函数参数命名调整:`downtop` -> `bottom_up`, `mysophobia` -> `pure_path`。
4.`tree` 函数参数 `level` 默认值调整:最大递归深度 -> 最大目录深度。
5.增加检查文件内容中是否包含子内容的方法,位于 `Content.contains`。gqylpy#4
6.调整部分参数注解,所有的 `Generator` 全部更换为 `Iterator`。
@2018-11-27 2018-11-27 mentioned this issue Oct 15, 2023
@2018-11-27
Copy link
Member Author

已新增方法 Content.contains,检查文件内容中是否包含子内容。PR #9 ,版本 1.0.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant