goog.testing.fs.Entry
Classgoog.testing.fs.Entry(fs, parent, name)
A mock filesystem entry object.
fs
{!goog.testing.fs.FileSystem
}
parent
{!goog.testing.fs.DirectoryEntry
}
name
{string
}
.checkNotDeleted(action)
[protected]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".
action
{string
}
goog.async.Deferred
}
.clone()
goog.testing.fs.Entry
}
.copyTo(parent, opt_newName)
parent
{!goog.testing.fs.DirectoryEntry
}
opt_newName
{string
=}
goog.async.Deferred
}
.deleted
{boolean
}Whether or not this entry has been deleted.
.getFileSystem()
goog.testing.fs.FileSystem
}
.getFullPath()
string
}
.getLastModified()
goog.async.Deferred
}
.getMetadata()
goog.async.Deferred
}
.getName()
string
}
.getParent()
goog.async.Deferred
}
.isDirectory()
boolean
}
.isFile()
boolean
}
.moveTo(parent, opt_newName)
parent
{!goog.testing.fs.DirectoryEntry
}
opt_newName
{string
=}
goog.async.Deferred
}
.parent
{!goog.testing.fs.DirectoryEntry
}The parent of this entry.
.remove()
goog.async.Deferred
}
.toUrl()
string
}