kinderp/beer2beer

Browse files in sharing directory

开放

#13 创建于 2023年2月23日

 (0 条评论) (0 个反应) (3 位负责人)Python (0 个派生)auto 404
good first issuepeer

仓库指标

星标
 (0 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

We need a new class Util in module util.py in order to host a ner function that will browse all shared files in ShellSettings.DIRECTORY

This function must return a list of dictionaries.

Each dict is composed in this way:

{
  "filename": "bla_bla_bla.mp3",
  "dimension": 3,
  "sha1": "...."
}
  • filename is just the name of current file
  • dimension must be showed in MB
  • sha1 is sha1of the current file

This list will be used in register call as part of its payload.

贡献者指南