Skip to content

Commit

Permalink
add file list to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
I-Iege committed Jan 27, 2021
1 parent de63056 commit 8782565
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,13 @@ for (RepositorySummary repoSummary : artifactory.storage().getStorageInfo().getR
##### Getting Items
```
ItemHandle fileItem = artifactory.repository("RepoName").file("path/to/file.txt");
ItemHandle folderItem = artifactory.repository("RepoName").folder("path/to/folder");
FolderHandle folderItem = artifactory.repository("RepoName").folder("path/to/folder");
```

##### Getting All Items Under A Folder
```
FolderHandle folder = artifactory.repository("RepoName").folder("path/to/folder");
FileList list = folder.list();
```

##### Copying Items
Expand Down

0 comments on commit 8782565

Please sign in to comment.