-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* doc(rustdoc): add filesystem documentation This commit adds several utility functions for file system operations. The functions include retrieving the current working directory, obtaining the workspace directory, getting a directory path as a `PathBuf`, mapping a `FileExtension` enum variant to its corresponding file extension string, generating a file path with a random component in the filename, and checking if a given path represents an existing directory. Additionally, this commit includes tests for each utility function to ensure their correct functionality. doc: Provides functions for file system operations, focusing on directories and file extensions. Includes utilities for working with the current working directory, workspace directory, and checking if a directory exists. - Added `get_current_working_dir()` function to retrieve the current working directory - Added `get_workspace_dir()` function to obtain the workspace directory - Added `get_dir_path_buf()` function to retrieve the directory path as a `PathBuf` - Added `get_extension_str()` function to map a `FileExtension` enum variant to its corresponding file extension string - Added `get_file_path()` function to generate a file path with a random component in the filename - Added `dir_exists()` function to check if a given path represents an existing directory Tests: - Included tests for each utility function * doc(rustdoc): add filesystem documentation This commit adds several utility functions for file system operations. The functions include retrieving the current working directory, obtaining the workspace directory, getting a directory path as a `PathBuf`, mapping a `FileExtension` enum variant to its corresponding file extension string, generating a file path with a random component in the filename, and checking if a given path represents an existing directory. Additionally, this commit includes tests for each utility function to ensure their correct functionality. doc: Provides functions for file system operations, focusing on directories and file extensions. Includes utilities for working with the current working directory, workspace directory, and checking if a directory exists. - Added `get_current_working_dir()` function to retrieve the current working directory - Added `get_workspace_dir()` function to obtain the workspace directory - Added `get_dir_path_buf()` function to retrieve the directory path as a `PathBuf` - Added `get_extension_str()` function to map a `FileExtension` enum variant to its corresponding file extension string - Added `get_file_path()` function to generate a file path with a random component in the filename - Added `dir_exists()` function to check if a given path represents an existing directory Tests: - Included tests for each utility function * doc(readme): Add documentation generation instructions Added instructions on how to generate documentation for all packages without including dependencies and with dependencies. This will help contributors easily generate and access the documentation. * doc(types): add rustdoc to all frakt types * doc(client): add rustdoc to client fun * doc(complex): add rustdoc to complex fun * Restyled by rustfmt (#27) Co-authored-by: Restyled.io <commits@restyled.io> --------- Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com> Co-authored-by: Restyled.io <commits@restyled.io>
- Loading branch information
1 parent
75e4734
commit 5d2ac60
Showing
16 changed files
with
181 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters