зеркало из https://github.com/mozilla/pjs.git
Added comment warning that the file size attribute only deals with the data fork on the Mac and point to Mac specific interface for dealing with the size of the combined forks. r=none as this is just cleanup.
This commit is contained in:
Родитель
4d4f77f272
Коммит
ac5dc8964e
|
@ -170,6 +170,12 @@ interface nsIFile : nsISupports
|
|||
attribute PRInt64 lastModificationDate;
|
||||
attribute PRInt64 lastModificationDateOfLink;
|
||||
|
||||
/**
|
||||
* WARNING! On the Mac getting/setting the file size with nsIFile
|
||||
* only deals with the size of the data fork. If you need to
|
||||
* know the size of the combined data and resource forks use the
|
||||
* GetFileSizeWithResFork() method defined in nsILocalFileMac.h
|
||||
*/
|
||||
attribute PRInt64 fileSize;
|
||||
readonly attribute PRInt64 fileSizeOfLink;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче