Skip to content

Duplicate function? #19

@camelop

Description

@camelop

fn get_timestamp(key_path: &str) -> i64 {

Seems to be the same as:

fn get_timestamp(key_path: &str) -> i64 {
let pos = key_path.rfind('@').unwrap();
key_path[pos + 1..].parse().unwrap()
}

Also, can we rename this to get_path_timestamp just to be consistent with the Python SDK? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions