addftool 0.0.9__py3-none-any.whl → 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
addftool/blob.py CHANGED
@@ -101,7 +101,7 @@ def mount_main(args):
101
101
  'logging': {'type': 'silent', 'level': 'log_off'},
102
102
  'components': ['libfuse', 'file_cache', 'attr_cache', 'azstorage'],
103
103
  'libfuse': {'attribute-expiration-sec': 120, 'entry-expiration-sec': 120, 'negative-entry-expiration-sec': 240},
104
- 'file_cache': {'path': '', 'timeout-sec': 120, 'max-size-mb': 40960},
104
+ 'file_cache': {'path': '', 'timeout-sec': 120, 'max-size-mb': 1024 * int(args.file_cache_size)},
105
105
  'attr_cache': {'timeout-sec': 7200},
106
106
  'azstorage': {
107
107
  'type': 'block',
@@ -213,6 +213,7 @@ def main():
213
213
  mount_parser.add_argument("-m", "--mount", help="mount dir", required=True)
214
214
  mount_parser.add_argument("-t", "--template", help="yaml template file", default=None)
215
215
  mount_parser.add_argument("-o", "--allow-other", help="allow other", action="store_true", default=False)
216
+ mount_parser.add_argument("--file-cache-size", help="file cache size (GB)", default=256)
216
217
  mount_parser.add_argument("--sudo", help="sudo", action="store_true")
217
218
 
218
219
  token_parser = subparsers.add_parser('token', help='Token help')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: addftool
3
- Version: 0.0.9
3
+ Version: 0.1.0
4
4
  Requires-Dist: cryptography
5
5
  Requires-Dist: requests
6
6
  Requires-Dist: PyYAML
@@ -0,0 +1,9 @@
1
+ addftool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ addftool/blob.py,sha256=P4Fj6ghLsEAw3C1NpEKEe3N4_LS3EedS1OYm5C6yzPw,8006
3
+ addftool/tool.py,sha256=EuKQ2t2InN7yB-_oYLcdsA7vRqzRGTunwIxplUSqEG0,2054
4
+ addftool/util.py,sha256=Q3A68vJDxgfeNiEFmk54HuMuworVndocXpSbVpvGMfc,362
5
+ addftool-0.1.0.dist-info/METADATA,sha256=EbzSeyvThjLaTnuLShjdJ_3skYisyb2NYaWlBv7qMd8,126
6
+ addftool-0.1.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
7
+ addftool-0.1.0.dist-info/entry_points.txt,sha256=h5TlQy4AQw-J55HqI7FRkIVRUfw-x3pStFWCoYtoCTM,78
8
+ addftool-0.1.0.dist-info/top_level.txt,sha256=jqj56-plrBbyzY0tIxB6wPzjAA8kte4hUlajyyQygN4,9
9
+ addftool-0.1.0.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- addftool/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- addftool/blob.py,sha256=XXpPkj5jSaYmUQmQgDd0UU7jSyEwMVVl8wsdb5phOZE,7886
3
- addftool/tool.py,sha256=EuKQ2t2InN7yB-_oYLcdsA7vRqzRGTunwIxplUSqEG0,2054
4
- addftool/util.py,sha256=Q3A68vJDxgfeNiEFmk54HuMuworVndocXpSbVpvGMfc,362
5
- addftool-0.0.9.dist-info/METADATA,sha256=ONQ-JSMtqClGFhO7AJaHWZh_wDkg1An3U_vkag9u5ug,126
6
- addftool-0.0.9.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
7
- addftool-0.0.9.dist-info/entry_points.txt,sha256=h5TlQy4AQw-J55HqI7FRkIVRUfw-x3pStFWCoYtoCTM,78
8
- addftool-0.0.9.dist-info/top_level.txt,sha256=jqj56-plrBbyzY0tIxB6wPzjAA8kte4hUlajyyQygN4,9
9
- addftool-0.0.9.dist-info/RECORD,,