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:
sdagley%netscape.com 2000-02-04 23:06:56 +00:00
Родитель 4d4f77f272
Коммит ac5dc8964e
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -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;