-
-
Notifications
You must be signed in to change notification settings - Fork 62
Hide folder structure #208 #283
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
Merged
radumarias
merged 12 commits into
xoriors:cdl-spring-2025-2
from
robertmercea:hide-folder-structure
May 16, 2025
Merged
Hide folder structure #208 #283
radumarias
merged 12 commits into
xoriors:cdl-spring-2025-2
from
robertmercea:hide-folder-structure
May 16, 2025
Conversation
This file contains hidden or 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
Signed-off-by: robertmercea <robertmercea@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes #208
EncryptedFs::create:get_random_number- generates a random number betweenfromandtoget_random_secret_filename- generates a random-length random encrypted file name asynchronouslyEncryptedFs::createEncryptedFs::is_real_file_namemethod which returnstrueif an encrypted file is real,falseotherwise0filtered theiterobject using the aforementioned function inEncryptedFs::read_dirandEncryptedFs::read_dir_plusEncryptedFs::create_directory_entry_plus_iteratorandEncryptedFs::create_directory_entry_iterator, depending if they are real files or notflavor = "multi_thread"totokio::testProblems
errorsE0728,E0308andE0277insideiter.filter(in bothread_dirfunctions)I cannot seem to call theasyncis_real_file_namefunctionI also cannot get the right type for the argumenton the line with the lastFile::createinsideEncryptedFs::createI get atype unknown/type annotation needederror when calling it asFile::create(contents_dir.join(fake_file_name.into()));. If I remove.into(), I get an errorE0521on the entireEncryptedFs::createfunction call. I do not know how to fix either of themTodo:
let iter = fs::read_dir(ls_dir)?;inEncryptedFs::read_dir