From b652b7daef9b12029aa5ac82cae2f6845418403a Mon Sep 17 00:00:00 2001 From: Robi Nino Date: Thu, 14 Mar 2024 13:59:34 +0200 Subject: [PATCH] Add file info service to README.md (#916) --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index b0adddcd3..50e00f06b 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,7 @@ - [Deleting a Group](#deleting-a-group) - [Generating Full System Export](#generating-full-system-export) - [Getting Info of a Folder in Artifactory](#getting-info-of-a-folder-in-artifactory) + - [Getting Info of a File in Artifactory](#getting-info-of-a-file-in-artifactory) - [Getting a listing of files and folders within a folder in Artifactory](#getting-a-listing-of-files-and-folders-within-a-folder-in-artifactory) - [Getting Storage Summary Info of Artifactory](#getting-storage-summary-info-of-artifactory) - [Triggering Storage Info Recalculation in Artifactory](#triggering-storage-info-recalculation-in-artifactory) @@ -1353,6 +1354,12 @@ err := serviceManager.Export(params) serviceManager.FolderInfo("repo/path/") ``` +#### Getting Info of a File in Artifactory + +```go +serviceManager.FileInfo("repo/path/file") +``` + #### Getting a listing of files and folders within a folder in Artifactory ```go