80 of 100 menu

Rust Taskbook Level 8.10

You are given a text file. Check that this file has one blank line at the beginning and two blank lines at the end.

Write a function that will take a path to a folder as a parameter and return the size of this folder.

Given a folder with files and subfolders. Get paths to all files in the folder and subfolders. Write the result to a new file, each path on a new line.

You are given a text file. It contains a text divided into sentences. Mix the words in each sentence of the text and write the resulting text into a new file.

Make a function that will delete a folder along with all its contents.

Given a folder with files and subfolders. Make a copy of this folder.

Write to a file all the leap years for the previous hundred years.

enru