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

Dir Open, Next, Close; DeleteDir for Windows #1084

Closed
wants to merge 1 commit into from
Closed

Dir Open, Next, Close; DeleteDir for Windows #1084

wants to merge 1 commit into from

Conversation

BraedonWooding
Copy link
Contributor

@BraedonWooding BraedonWooding commented Jun 9, 2018

  • Removed if condition in docgen to re-enable feature on windows
  • As to support windows Dir struct the 'DirData' field is dependent on OS
  • Implemented windows.PathIsDirectoryEmpty
  • Implemented windows.RemovedDirectory
  • Implemented windows.FindFirstFile
  • Implemented windows.FindNextFile
  • Implemented windows.FindClose
  • Implemented windows.WIN32_FIND_DATA struct
  • Implemented windows_util.FileSearchData containing all the data required for future searches (as well as the current file pointer and if you are at the 'end').
  • Implemented windows_util.windowsPathIsDirectoryEmpty
  • Implemented windows_util.windowsRemoveDirectory
  • Implemented windows_util.windowsFindFirstFile
  • Implemented windows_util.windowsFindNextFile
  • Implemented windows_util.windowsFindClose
  • Implemented os.DeleteDir
  • Implemented Os.Dir.Open/Next/Close

As to support windows Dir struct the 'DirData' field is dependent on OS
Implemented windows.PathIsDirectoryEmpty
Implemented windows.RemovedDirectory
Implemented windows.FindFirstFile
Implemented windows.FindNextFile
Implemented windows.FindClose
Implemented windows.WIN32_FIND_DATA struct
Implemented windows_util.FileSearchData containing all the data required for future searches (as well as the current file pointer and if you are at the 'end').
Implemented windows_util.windowsPathIsDirectoryEmpty
Implemented windows_util.windowsRemoveDirectory
Implemented windows_util.windowsFindFirstFile
Implemented windows_util.windowsFindNextFile
Implemented windows_util.windowsFindClose
@BraedonWooding
Copy link
Contributor Author

@andrewrk I expect this to pass the tests now 😄, took a decent amount of time as it 'bloated' as it turned out I also had to implement DeleteDir (to get the docgen to also compile).

@andrewrk
Copy link
Member

andrewrk commented Jun 9, 2018

Nice, I'll have a look at this tomorrow morning

@andrewrk andrewrk closed this in 3dd9af9 Jun 12, 2018
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.

None yet

2 participants