refactor(history): commit development branch
All checks were successful
/ job (push) Successful in 1m12s
All checks were successful
/ job (push) Successful in 1m12s
new development branch from root commit
This commit is contained in:
parent
3e562930f6
commit
020aaa0b9a
94 changed files with 4804 additions and 0 deletions
19
rwx/__main__.py
Executable file
19
rwx/__main__.py
Executable file
|
@ -0,0 +1,19 @@
|
|||
#! /usr/bin/env python3
|
||||
|
||||
"""Entry point."""
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from rwx import fs
|
||||
|
||||
if __name__ == "__main__":
|
||||
file_path: Path = Path(__file__).resolve()
|
||||
root_path: Path = file_path.parent
|
||||
directory_path: Path = root_path / "tmp"
|
||||
file_path = directory_path / "file"
|
||||
|
||||
fs.wipe(directory_path)
|
||||
fs.make_directory(directory_path)
|
||||
fs.write(file_path, "Martine écrit beaucoup.")
|
||||
fs.empty_file(file_path)
|
||||
fs.write(file_path, "Martine écrit moins.")
|
Loading…
Add table
Add a link
Reference in a new issue