Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
common_helper_files
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
common_helper_files
Commits
e113108e
Commit
e113108e
authored
3 years ago
by
Marten Ringwelski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix return type
parent
91aa01ff
master
…
0.3.0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
file_functions.py
common_helper_files/file_functions.py
+1
-1
No files found.
common_helper_files/file_functions.py
View file @
e113108e
...
...
@@ -50,7 +50,7 @@ def create_dir_for_file(file_path: Union[str, Path]) -> None:
Path
(
file_path
)
.
resolve
()
.
parent
.
mkdir
(
parents
=
True
,
exist_ok
=
True
)
def
human_readable_file_size
(
size_in_bytes
:
int
)
->
None
:
def
human_readable_file_size
(
size_in_bytes
:
int
)
->
str
:
'''
Returns a nicly human readable file size
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment