diff options
-rw-r--r-- | pyload/utils/fs.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/utils/fs.py b/pyload/utils/fs.py index 56f76c490..05e098e2a 100644 --- a/pyload/utils/fs.py +++ b/pyload/utils/fs.py @@ -75,7 +75,8 @@ def free_space(folder): s = os.statvfs(folder) return s.f_frsize * s.f_bavail -def fs_bsize(path): +def get_bsize(path): + """ get optimal file system buffer size (in bytes) for i/o calls """ path = fs_encode(path) if os.name == "nt": |