Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
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)
0
Konular (issue)
0
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ç
Batuhan Osman TASKAYA
cpython
Commits
1cd6e4dc
Kaydet (Commit)
1cd6e4dc
authored
May 12, 2004
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix various descriptions of "ctime"
(closes SF patch #870287)
üst
043fff08
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
libos.tex
Doc/lib/libos.tex
+2
-1
libstat.tex
Doc/lib/libstat.tex
+4
-1
posixpath.py
Lib/posixpath.py
+1
-1
No files found.
Doc/lib/libos.tex
Dosyayı görüntüle @
1cd6e4dc
...
@@ -909,7 +909,8 @@ the \ctype{stat} structure, namely:
...
@@ -909,7 +909,8 @@ the \ctype{stat} structure, namely:
\member
{
st
_
atime
}
(time of most recent access),
\member
{
st
_
atime
}
(time of most recent access),
\member
{
st
_
mtime
}
(time of most recent content modification),
\member
{
st
_
mtime
}
(time of most recent content modification),
\member
{
st
_
ctime
}
\member
{
st
_
ctime
}
(time of most recent content modification or metadata change).
(platform dependent; time of most recent metadata change on
\UNIX
, or
the time of creation on Windows).
\versionchanged
[If
\function
{
stat
_
float
_
times
}
returns true, the time
\versionchanged
[If
\function
{
stat
_
float
_
times
}
returns true, the time
values are floats, measuring seconds. Fractions of a second may be
values are floats, measuring seconds. Fractions of a second may be
...
...
Doc/lib/libstat.tex
Dosyayı görüntüle @
1cd6e4dc
...
@@ -110,7 +110,10 @@ Time of last modification.
...
@@ -110,7 +110,10 @@ Time of last modification.
\end{datadesc}
\end{datadesc}
\begin{datadesc}
{
ST
_
CTIME
}
\begin{datadesc}
{
ST
_
CTIME
}
Time of last status change (see manual pages for details).
The ``ctime'' as reported by the operating system. On some systems
(like
\UNIX
) is the time of the last metadata change, and, on others
(like Windows), is the creation time (see platform documentation for
details).
\end{datadesc}
\end{datadesc}
The interpretation of ``file size'' changes according to the file
The interpretation of ``file size'' changes according to the file
...
...
Lib/posixpath.py
Dosyayı görüntüle @
1cd6e4dc
...
@@ -146,7 +146,7 @@ def getatime(filename):
...
@@ -146,7 +146,7 @@ def getatime(filename):
return
os
.
stat
(
filename
)
.
st_atime
return
os
.
stat
(
filename
)
.
st_atime
def
getctime
(
filename
):
def
getctime
(
filename
):
"""Return the
creation
time of a file, reported by os.stat()."""
"""Return the
metadata change
time of a file, reported by os.stat()."""
return
os
.
stat
(
filename
)
.
st_ctime
return
os
.
stat
(
filename
)
.
st_ctime
# Is a path a symbolic link?
# Is a path a symbolic link?
...
...
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