You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeTrashedFileInfointerface {
AbsPath() stringDeletionDate() time.Time
}
// Lookup checks whether there is any file with a matching path. The path can// be relative or absolute. Since a path can be deleted multiple times,// resulting in multiple trashed versions, the return value is an array. If// the error is empty, there were no matches, in which case the `error` will// be `nil`.funcLookup(pathstring) ([]*TrashedFileInfo, error) {
// ....
}
The interface TrashedFileInfo allows to have more concrete implementations, allowing the user to extract more information where required and possible, but still allow us to cross compile when using the bare minimum.
The text was updated successfully, but these errors were encountered:
APIL:
The interface
TrashedFileInfo
allows to have more concrete implementations, allowing the user to extract more information where required and possible, but still allow us to cross compile when using the bare minimum.The text was updated successfully, but these errors were encountered: