goog.testing.fs.Entry | |
goog.testing.fs.DirectoryEntry | goog.testing.fs.Entry |
fs
: !goog.testing.fs.FileSystem
The filesystem containing this entry.
|
parent
: goog.testing.fs.DirectoryEntry
The directory entry directly
containing this entry. If this is null, that means this is the root
directory and so is its own parent.
|
name
: string
The name of this entry.
|
children
: !Object.<!goog.testing.fs.Entry>
The map of child names to
entry objects.
|
![]()
No description.
|
code » | |||||
Creates a directory synchronously. This is a shorthand for getFileSync,
useful for setting up tests.
Arguments:
Returns: !goog.testing.fs.DirectoryEntry
The created directory.
|
code » | |||||
Creates a file synchronously. This is a shorthand for getFileSync, useful for
setting up tests.
Arguments:
Returns: !goog.testing.fs.FileEntry
The created file.
|
code » | |||||
![]()
No description.
|
code » | |||||
Get a directory synchronously, without waiting for a Deferred to resolve.
Arguments:
Returns: !goog.testing.fs.DirectoryEntry
The loaded directory.
|
code » | |||||
Get a file or directory entry from a path. This handles parsing the path for
subdirectories and throwing appropriate errors should something go wrong.
Arguments:
Returns: !goog.testing.fs.Entry
The loaded entry.
|
code » | |||||
![]()
No description.
|
code » | |||||
Get a file entry synchronously, without waiting for a Deferred to resolve.
Arguments:
Returns: !goog.testing.fs.FileEntry
The loaded file.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
Constructs and returns the metadata object for this entry.
Returns: {modificationTime: Date
} The metadata object.
|
code » | |||||
Returns whether this directory has a child with the given name.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
No description.
|
code » | |||||
![]()
No description.
|
code » |
Return a deferred that will call its errback if this entry has been deleted.
In addition, the deferred will only run after a timeout of 0, and all its
callbacks will run with the entry as "this".
Arguments:
Returns: !goog.async.Deferred
The deferred that will be called after a
timeout of 0.
|
code » | ||
No description.
Returns: !goog.testing.fs.Entry
A shallow copy of this entry object.
|
code » | ||
![]()
No description.
|
code » | ||
No description.
|
code » | ||
![]()
No description.
|
code » | ||
![]()
No description.
|
code » | ||
![]()
No description.
|
code » | ||
![]()
No description.
|
code » | ||
![]()
No description.
|
code » | ||
![]()
No description.
|
code » | ||
![]()
No description.
|
code » |
![]()
Whether or not this entry has been deleted.
|
Code » | |
This entry's filesystem.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
The name of this entry.
|
Code » | |
The parent of this entry.
|
Code » | |
![]()
No description.
|
Code » |
![]()
No description.
|
Code » |