Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Merge requests
!26
Verzování statických souborů
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Verzování statických souborů
mj/assets
into
devel
Overview
1
Commits
5
Changes
8
Merged
Martin Mareš
requested to merge
mj/assets
into
devel
4 years ago
Overview
1
Commits
5
Changes
1
Expand
0
0
Merge request reports
Compare
version 2
version 3
19017847
4 years ago
version 2
2f6d1728
4 years ago
version 1
a92348c4
4 years ago
devel (base)
and
version 3
latest version
ebc92823
5 commits,
4 years ago
version 3
19017847
4 commits,
4 years ago
version 2
2f6d1728
4 commits,
4 years ago
version 1
a92348c4
3 commits,
4 years ago
Show latest version
1 file
+
3
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
mo/ext/assets.py
+
3
−
1
Options
@@ -33,7 +33,9 @@ class Assets:
)
def
add_asset
(
self
,
name
:
str
):
assert
name
not
in
self
.
asset_dict
if
name
in
self
.
asset_dict
:
return
file_name
=
os
.
path
.
join
(
self
.
asset_folder
,
name
)
digest
=
hashlib
.
sha1
()
Loading