Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
1
Konular (issue)
1
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
inary
Commits
7ca858c8
Kaydet (Commit)
7ca858c8
authored
Haz 08, 2011
tarafından
Ozan Çağlayan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
util: remove unused copy_dir() too
üst
20bc8b5c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
util.py
pisi/util.py
+0
-4
No files found.
pisi/util.py
Dosyayı görüntüle @
7ca858c8
...
...
@@ -442,10 +442,6 @@ def get_file_hashes(top, excludePrefix=None, removePrefix=None):
if
is_included
(
root
):
yield
calculate_hash
(
root
)
def
copy_dir
(
src
,
dest
):
"""Copy source dir to destination dir recursively."""
shutil
.
copytree
(
src
,
dest
)
def
check_file_hash
(
filename
,
hash
):
"""Check the file's integrity with a given hash."""
return
sha1_file
(
filename
)
==
hash
...
...
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