Skip to content

Raise error when filename has spaces#130

Open
parham-k wants to merge 1 commit intomasterfrom
err-path-space
Open

Raise error when filename has spaces#130
parham-k wants to merge 1 commit intomasterfrom
err-path-space

Conversation

@parham-k
Copy link
Contributor

@parham-k parham-k commented Nov 6, 2024

Addresses #129

Attempted to fix by:

  • putting the path in quotes interprets input as two files with one starting with quotes and the other ending with one.
  • adding a backslash before each space, similar to quotes, interprets one file ending with \
  • using std::filesystem::exists instead of stat and std::filesystem::path(source_path).u8string(), no change

Added a check_error for this case to provide user with a verbose error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant