-
-
Notifications
You must be signed in to change notification settings - Fork 923
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Truffle] Add File.{rdev,nlinks,blocks}
- Loading branch information
Showing
4 changed files
with
42 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,4 @@ | ||
fails:File.size? calls #to_io to convert the argument to an IO | ||
fails:File.size? accepts a File argument | ||
fails:File.size calls #to_io to convert the argument to an IO | ||
fails:File.size accepts a File argument | ||
fails:File#size returns the file's size as a Fixnum | ||
fails:File#size returns the file's size in bytes | ||
fails:File#size returns the cached size of the file if subsequently deleted | ||
fails:File#size returns the file's current size even if modified | ||
fails:File#size raises an IOError on a closed file | ||
fails:File#size follows symlinks if necessary | ||
fails:File#size for an empty file returns 0 | ||
windows:File.size? returns the size of the file if it exists and is not empty | ||
windows:File.size? returns nil if file_name doesn't exist or has 0 size | ||
windows:File.size? returns nil if file_name is empty |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters