Snowcode.S3BuildPublisher.S3.S3Helper.GetDestinationFolder C# (CSharp) Method

GetDestinationFolder() private method

private GetDestinationFolder ( string folder ) : string
folder string
return string
        private string GetDestinationFolder(string folder)
        {
            string destinationFolder = folder ?? string.Empty;

            // Append a folder seperator if a folder has been specified without one.
            if (!string.IsNullOrEmpty(destinationFolder) && !destinationFolder.EndsWith("/"))
            {
                destinationFolder += "/";
            }

            return destinationFolder;
        }