• Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.16.1.Final
    • None
    • Resources
    • None

          [FORGE-2315] Add move for FileResources

          Right, then I believe it's ok to have a move method. +1

          George Gastaldi added a comment - Right, then I believe it's ok to have a move method. +1

          So, what do you think better?
          Create a move or change the renameTo?

          For me:
          create move +1

          Daniel Cunha (soro) (Inactive) added a comment - So, what do you think better? Create a move or change the renameTo? For me: create move +1

          rhn-support-ggastald Yes,

          but for totally support for 'mv', renameTo need improvement.

          with renameTo, my mv not work this form:

          mv file path/
          

          I need to do:

          mv file path/new-name
          

          Daniel Cunha (soro) (Inactive) added a comment - rhn-support-ggastald Yes, but for totally support for 'mv', renameTo need improvement. with renameTo, my mv not work this form: mv file path/ I need to do: mv file path/ new -name

          Actually we do have FileResource.renameTo, so I guess that should be used instead

          George Gastaldi added a comment - Actually we do have FileResource.renameTo , so I guess that should be used instead

            danielcunha Daniel Cunha (soro) (Inactive)
            danielcunha Daniel Cunha (soro) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: