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

Add function ChangeDirectoryCurrent to change current directory (identical to the one provided by the IO package) #5585

Merged
merged 3 commits into from
Jan 14, 2024

Conversation

fingolfin
Copy link
Member

  • kernel: replace undocumented IsDir by IS_DIR
  • kernel: add functions to get/change working dir
  • Add ChangeDirectoryCurrent

Resolves #364
Resolves #2794

This contains PR #5584 simply because it touches the same code.

... which just returns a boolean. If we want a function that allows
detecting types of file system objects more generally, we can add
one in the future with a more appropriate name.
@fingolfin fingolfin enabled auto-merge (squash) January 14, 2024 14:09
@fingolfin fingolfin merged commit 5533cdb into gap-system:master Jan 14, 2024
22 checks passed
@fingolfin fingolfin deleted the mh/curdir branch January 14, 2024 15:07
@fingolfin fingolfin added kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements topic: library release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes labels Jan 22, 2024
@fingolfin fingolfin changed the title Add function to get and change current directory Add function ChangeDirectoryCurrent to change current directory (identical to the one provided by the IO package) Jan 22, 2024
@fingolfin fingolfin added kind: new feature and removed kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements labels Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: new feature release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes topic: library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add way to query absolute path for current directory? ChangeDirectoryCurrent
2 participants