Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage API for reading mod time of a declaration #48

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

jessepeterson
Copy link
Owner

@jessepeterson jessepeterson commented Aug 11, 2023

Create this interface method ...

	// RetrieveDeclarationModTime retrieves the last modification time of the declaration.
	RetrieveDeclarationModTime(ctx context.Context, declarationID string) (time.Time, error)

... and the implementations for the file and mysql backends. Include a test. Resolves #43.

@jessepeterson jessepeterson merged commit b1e9cba into main Aug 11, 2023
5 checks passed
@jessepeterson jessepeterson deleted the decl-mod-time branch August 11, 2023 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Declaration stat/modified time API endpoint
1 participant