question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add copy operation to commit API

See original GitHub issue

For hffs, it would be nice to have a CopyOperation in the commit API for efficiently copying repo siblings.

PS: this would also require some changes server-side, so “low priority” for now

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
coyotte508commented, Sep 27, 2022

Is it copying within a repo or across repos?

Within a repo, the only thing to copy is a pointer file, so no issue.

0reactions
Wauplincommented, Oct 28, 2022

~Now possible thanks to @coyotte508’s work in https://github.com/huggingface/moon-landing/pull/4252 and https://github.com/huggingface/moon-landing/pull/4271 (internal links).~

EDIT: I mixed up “copy a file” and “rename a file”. Renaming is now possible out of the box from moon landing put copying is still not.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Commits API - GitLab Docs
Create a commit with multiple files and actions ; previous_path, string, no, Original full path to the file being moved. For example lib/class1.rb...
Read more >
Record file copy operation with Git - Stack Overflow
I have tried doing a filesystem copy and then adding the file - git lists it as a new file. Is there any...
Read more >
Get Commits - REST API (Azure DevOps Git) - Microsoft Learn
Retrieve git commits for a project Parameters that use the searchCriteria prefix in their name can be specified without it as query parameters, ......
Read more >
Commit—ArcGIS REST APIs
This operation commits multiple parts of a item into a single item and completes the upload of items that are uploaded in parts....
Read more >
VS Code API | Visual Studio Code Extension API
The function is sometimes also called command handler. Commands can be added to the editor using the registerCommand and registerTextEditorCommand functions.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found