[android-components](../../index.md) / [mozilla.components.service.sync.logins](../index.md) / [Operation](./index.md)

# Operation

`enum class Operation` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/service/sync-logins/src/main/java/mozilla/components/service/sync/logins/GeckoLoginStorageDelegate.kt#L22)

A type of persistence operation, either 'create' or 'update'.

### Enum Values

| Name | Summary |
|---|---|
| [CREATE](-c-r-e-a-t-e.md) |  |
| [UPDATE](-u-p-d-a-t-e.md) |  |

### Extension Functions

| Name | Summary |
|---|---|
| [loadResourceAsString](../../mozilla.components.support.test.file/kotlin.-any/load-resource-as-string.md) | `fun `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`.loadResourceAsString(path: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)<br>Loads a file from the resources folder and returns its content as a string object. |
